X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Fdestpaths.c;h=1e42ae80d1010e94c63d81658503283bddf732a0;hb=3e4bd83ce0d3f9c7af52adb1dbdf5a5718e81454;hp=8b6173aa6ce92849a3ab02b010a5b6aa1d4e500b;hpb=690472768c2b94daaca3c9980bc31fcd6b09e8b7;p=libguestfs.git diff --git a/fish/destpaths.c b/fish/destpaths.c index 8b6173a..1e42ae8 100644 --- a/fish/destpaths.c +++ b/fish/destpaths.c @@ -18,8 +18,6 @@ #include -#define _GNU_SOURCE // for strndup, asprintf - #include #include #include @@ -61,7 +59,7 @@ struct word { }; static void -free_words (struct word *words, int nr_words) +free_words (struct word *words, size_t nr_words) { size_t i;