X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fwordsplit.c;h=0653785879066119e51ead51c2b3cd2284900e4e;hb=d30babc23b4f25be970ada2e63a50220a3672281;hp=21807cdb8df3cfa5a15ce0d661143fdb9476e4c6;hpb=4aa85f09e755fc827cd5ab6225f20c83cd42245d;p=debian%2Ftar diff --git a/lib/wordsplit.c b/lib/wordsplit.c index 21807cdb..06537858 100644 --- a/lib/wordsplit.c +++ b/lib/wordsplit.c @@ -1,5 +1,5 @@ /* wordsplit - a word splitter - Copyright (C) 2009-2014 Free Software Foundation, Inc. + Copyright (C) 2009-2014, 2016 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