From e8f7acb0d34ed0eeb4262dcf6c54208979616b06 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 4 Jan 2017 11:44:37 +0100 Subject: lib: use unique ifdefs for tests Let's use unique TEST_PROGRAM_ ifdefs to make build system more robust. Signed-off-by: Karel Zak --- lib/randutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/randutils.c') diff --git a/lib/randutils.c b/lib/randutils.c index 8defe744c..daf046005 100644 --- a/lib/randutils.c +++ b/lib/randutils.c @@ -173,7 +173,7 @@ const char *random_tell_source(void) return _("libc pseudo-random functions"); } -#ifdef TEST_PROGRAM +#ifdef TEST_PROGRAM_RANDUTILS int main(int argc __attribute__ ((__unused__)), char *argv[] __attribute__ ((__unused__))) { @@ -187,4 +187,4 @@ int main(int argc __attribute__ ((__unused__)), return EXIT_SUCCESS; } -#endif /* TEST_PROGRAM */ +#endif /* TEST_PROGRAM_RANDUTILS */ -- cgit v1.2.3-55-g7522