X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2Fwordsplit.c;h=69db2e0335e9b57c1710d2669dec043c42cc2b20;hb=da06935f6ea4d2c248c01486adae98adb020dd42;hp=75faf9e5e4005d3de4fe430de1b1c904837f8dae;hpb=17f99bc6f1405effe6cc31a60bb7353a033c13d6;p=chaz%2Ftar diff --git a/lib/wordsplit.c b/lib/wordsplit.c index 75faf9e..69db2e0 100644 --- a/lib/wordsplit.c +++ b/lib/wordsplit.c @@ -1,5 +1,5 @@ /* wordsplit - a word splitter - Copyright (C) 2009-2013 Free Software Foundation, Inc. + Copyright (C) 2009-2014 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -61,7 +61,7 @@ _wsplt_alloc_die (struct wordsplit *wsp) abort (); } -static void __attribute__ ((__format__ (__printf__, 1, 2))) +static void __WORDSPLIT_ATTRIBUTE_FORMAT ((__printf__, 1, 2)) _wsplt_error (const char *fmt, ...) { va_list ap; @@ -221,7 +221,7 @@ struct wordsplit_node { struct wordsplit_node *prev; /* Previous element */ struct wordsplit_node *next; /* Next element */ - int flags; /* Node flags */ + unsigned flags; /* Node flags */ union { struct