From: Paul Eggert Date: Sun, 26 Jul 2020 21:38:48 +0000 (-0700) Subject: argz: pacify MSVC X-Git-Tag: v1.0~3850 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=dcd37862ffbbb0ee15d90e6c08afcba15271b305;p=gnulib.git argz: pacify MSVC * lib/argz.in.h: Avoid "*/*" to pacify MSVC. Problem reported by Gisle Vanem. --- diff --git a/ChangeLog b/ChangeLog index aee21afed7..63138b822a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2020-07-26 Paul Eggert + argz: pacify MSVC + * lib/argz.in.h: Avoid "*/*" to pacify MSVC. + Problem reported by Gisle Vanem. + libgmp: remove dependency on havelib * m4/libgmp.m4 (gl_LIBGMP): If gl_HAVE_MODULE_HAVELIB is not defined, use the more-traditional AC_SEARCH_LIBS approach. diff --git a/lib/argz.in.h b/lib/argz.in.h index 4ca95cbdcb..3a2664689b 100644 --- a/lib/argz.in.h +++ b/lib/argz.in.h @@ -48,7 +48,7 @@ extern error_t argz_create_sep (const char *restrict /*string*/, /* Returns the number of strings in ARGZ. */ -extern size_t argz_count (const char */*argz*/, size_t /*len*/); +extern size_t argz_count (const char * /*argz*/, size_t /*len*/); /* Puts pointers to each string in ARGZ into ARGV, which must be large enough to hold them all. */ @@ -59,7 +59,7 @@ extern void argz_extract (const char *restrict /*argz*/, size_t /*len*/, /* Make '\0' separated arg vector ARGZ printable by converting all the '\0's except the last into the character SEP. */ -extern void argz_stringify (char */*argz*/, size_t /*len*/, int /*sep*/); +extern void argz_stringify (char * /*argz*/, size_t /*len*/, int /*sep*/); /* Append BUF, of length BUF_LEN to the argz vector in ARGZ & ARGZ_LEN. */