aboutsummaryrefslogtreecommitdiff
path: root/src/xzdec
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-05-17 11:54:38 +0300
committerLasse Collin <lasse.collin@tukaani.org>2011-05-17 11:54:38 +0300
commit4c6e146df99696920f12410fb17754412797ef36 (patch)
tree3208666bbb8b3a11c3e0c24e7c3d4d26f05d3144 /src/xzdec
parentxz: Fix input file position when --single-stream is used. (diff)
downloadxz-4c6e146df99696920f12410fb17754412797ef36.tar.xz
Add underscores to attributes (__attribute((__foo__))).
Diffstat (limited to 'src/xzdec')
-rw-r--r--src/xzdec/xzdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xzdec/xzdec.c b/src/xzdec/xzdec.c
index fd015076..b7830db4 100644
--- a/src/xzdec/xzdec.c
+++ b/src/xzdec/xzdec.c
@@ -40,7 +40,7 @@
static unsigned int display_errors = 2;
-static void lzma_attribute((format(printf, 1, 2)))
+static void lzma_attribute((__format__(__printf__, 1, 2)))
my_errorf(const char *fmt, ...)
{
va_list ap;
@@ -57,7 +57,7 @@ my_errorf(const char *fmt, ...)
}
-static void lzma_attribute((noreturn))
+static void lzma_attribute((__noreturn__))
help(void)
{
printf(
@@ -81,7 +81,7 @@ PACKAGE_NAME " home page: <" PACKAGE_URL ">\n", progname);
}
-static void lzma_attribute((noreturn))
+static void lzma_attribute((__noreturn__))
version(void)
{
printf(TOOL_FORMAT "dec (" PACKAGE_NAME ") " LZMA_VERSION_STRING "\n"