summaryrefslogtreecommitdiff
path: root/utils/ldconfig.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-10 11:49:06 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-10 11:49:06 +0200
commit587a72856b650a5a16c5b308be4197f26627a816 (patch)
tree77597b72323ccb9ecc9a70e72f844b1acfb0747f /utils/ldconfig.c
parent4ae13b764d61fa9cf96414552f512b72f8b41aca (diff)
define attribute_noreturn
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'utils/ldconfig.c')
-rw-r--r--utils/ldconfig.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/ldconfig.c b/utils/ldconfig.c
index 0d7092b3e..a25de260a 100644
--- a/utils/ldconfig.c
+++ b/utils/ldconfig.c
@@ -114,7 +114,8 @@ static void warnx(const char *s, ...)
fprintf(stderr, "\n");
}
-static attribute_noreturn void err(int errnum, const char *s, ...)
+static void err(int errnum, const char *s, ...) attribute_noreturn;
+static void err(int errnum, const char *s, ...)
{
va_list p;
@@ -783,7 +784,8 @@ void cache_print(void)
}
#endif
-static attribute_noreturn void usage(void)
+static void usage(void) attribute_noreturn;
+static void usage(void)
{
fprintf(stderr,
#ifdef __LDSO_CACHE_SUPPORT__