summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-05 22:54:46 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-05 22:54:46 +0200
commitb24fcfb4858beef7d9114e2c4c5f10fc34b3182b (patch)
tree71bd0e88ca3df0005a21ec11ff8a8ed3f0806a76
parent086adc370cc627c95f20e3a173dcaebe086b9869 (diff)
fix compilation
wrong placed attribute_noreturn Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--utils/ldconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/ldconfig.c b/utils/ldconfig.c
index 139b5f9cb..0d7092b3e 100644
--- a/utils/ldconfig.c
+++ b/utils/ldconfig.c
@@ -114,7 +114,7 @@ static void warnx(const char *s, ...)
fprintf(stderr, "\n");
}
-static void attribute_noreturn err(int errnum, const char *s, ...)
+static attribute_noreturn void err(int errnum, const char *s, ...)
{
va_list p;
@@ -783,7 +783,7 @@ void cache_print(void)
}
#endif
-static void attribute_noreturn usage(void)
+static attribute_noreturn void usage(void)
{
fprintf(stderr,
#ifdef __LDSO_CACHE_SUPPORT__