From 76898cd330297d16c67c5e7c6024440ff4343336 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 20 Dec 1999 00:51:25 +0000 Subject: Avoid compiler warnings on systems that have snprintf and/or vsnprintf but do not bother to declare them in . Seems to be a more common omission than you'd think... --- src/include/c.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/c.h') diff --git a/src/include/c.h b/src/include/c.h index 174d20cb1c..53fe14e70a 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -7,7 +7,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: c.h,v 1.61 1999/07/17 20:18:25 momjian Exp $ + * $Id: c.h,v 1.62 1999/12/20 00:51:21 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -789,11 +789,11 @@ extern char *vararg_format(const char *fmt,...); * in config.h we haven't yet included anything that defines size_t... */ -#ifndef HAVE_SNPRINTF +#ifndef HAVE_SNPRINTF_DECL extern int snprintf(char *str, size_t count, const char *fmt,...); #endif -#ifndef HAVE_VSNPRINTF +#ifndef HAVE_VSNPRINTF_DECL extern int vsnprintf(char *str, size_t count, const char *fmt, va_list args); #endif -- cgit v1.2.1