From: Andrew Tridgell Date: Sat, 6 Apr 2002 06:48:28 +0000 (+0200) Subject: fixed warnings on irix X-Git-Tag: v1.5~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47aa8583cf8ea501f7edad1bf922bdf9c15c9e45;p=thirdparty%2Fccache.git fixed warnings on irix --- diff --git a/ccache.h b/ccache.h index eb65dde43..347ab3660 100644 --- a/ccache.h +++ b/ccache.h @@ -93,7 +93,13 @@ void stats_set_sizes(const char *dir, size_t num_files, size_t total_size); int unify_hash(const char *fname); +#ifndef HAVE_VASPRINTF +int vasprintf(char **, const char *, va_list ); +#endif +#ifndef HAVE_SNPRINTF +int snprintf(char *,size_t ,const char *, ...); +#endif void cleanup_dir(const char *dir, size_t maxfiles, size_t maxsize); void cleanup_all(const char *dir);