X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Futils.h;h=ccc832791b2f90aa8bbdf12515c3c9035a7de601;hp=28976ff522c87e471c6b72188c3c949ea686f019;hb=0ff9eb47276f0485e7c2e1ed1c014c7c82758ef7;hpb=83b0e389400b03110402d1408fd9610988ba3419 diff --git a/src/utils.h b/src/utils.h index 28976ff5..ccc83279 100644 --- a/src/utils.h +++ b/src/utils.h @@ -68,6 +68,13 @@ char **sepstring PARAMS ((const char *)); int frontcmp PARAMS ((const char *, const char *)); void fork_to_background PARAMS ((void)); +#ifdef HAVE_STDARG_H +char *aprintf PARAMS ((const char *, ...)) + GCC_FORMAT_ATTR (1, 2); +#else /* not HAVE_STDARG_H */ +char *aprintf (); +#endif /* not HAVE_STDARG_H */ + void touch PARAMS ((const char *, time_t)); int remove_link PARAMS ((const char *)); int file_exists_p PARAMS ((const char *));