aboutsummaryrefslogtreecommitdiff
path: root/src/xz/options.c
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/xz/options.c
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/xz/options.c')
-rw-r--r--src/xz/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xz/options.c b/src/xz/options.c
index 379a2e46..f21a0ba5 100644
--- a/src/xz/options.c
+++ b/src/xz/options.c
@@ -150,7 +150,7 @@ enum {
static void
set_delta(void *options, uint32_t key, uint64_t value,
- const char *valuestr lzma_attribute((unused)))
+ const char *valuestr lzma_attribute((__unused__)))
{
lzma_options_delta *opt = options;
switch (key) {
@@ -194,7 +194,7 @@ enum {
static void
set_bcj(void *options, uint32_t key, uint64_t value,
- const char *valuestr lzma_attribute((unused)))
+ const char *valuestr lzma_attribute((__unused__)))
{
lzma_options_bcj *opt = options;
switch (key) {
@@ -241,7 +241,7 @@ enum {
};
-static void lzma_attribute((noreturn))
+static void lzma_attribute((__noreturn__))
error_lzma_preset(const char *valuestr)
{
message_fatal(_("Unsupported LZMA1/LZMA2 preset: %s"), valuestr);