cpperror.c (v_cpp_message): Remove static prototype.

Mon May 25 14:00:13 1998  Dave Brolley  <brolley@cygnus.com>
	* cpperror.c (v_cpp_message): Remove static prototype.
	* cpplib.c (v_cpp_message): Move prototype to cpplib.h.
	* cpplib.h (v_cpp_message): Add protoptype.
	(stdarg.h,varargs.h): Needed for v_cpp_message prototype.

From-SVN: r20046
This commit is contained in:
Dave Brolley 1998-05-25 11:04:40 +00:00 committed by Dave Brolley
parent 67ffc8124f
commit 33b019ade8
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,10 @@
Mon May 25 14:00:13 1998 Dave Brolley <brolley@cygnus.com>
* cpperror.c (v_cpp_message): Remove static prototype.
* cpplib.c (v_cpp_message): Move prototype to cpplib.h.
* cpplib.h (v_cpp_message): Add protoptype.
(stdarg.h,varargs.h): Needed for v_cpp_message prototype.
Sun May 24 20:36:15 PDT 1998 Jeff Law (law@cygnus.com)
* version.c: Bump for snapshot.

View File

@ -37,8 +37,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "cpplib.h"
static void v_cpp_message PROTO ((cpp_reader *, int, const char *, va_list));
/* Print the file names and line numbers of the #include
commands which led to the current file. */

View File

@ -202,7 +202,6 @@ struct cpp_pending {
char *xmalloc ();
extern void cpp_hash_cleanup PARAMS ((cpp_reader *));
extern void v_cpp_message PROTO ((cpp_reader *, int, const char *, va_list));
static void add_import PROTO ((cpp_reader *, int, char *));
static void append_include_chain PROTO ((cpp_reader *,

View File

@ -22,6 +22,11 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <sys/types.h>
#include <sys/stat.h>
#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
#ifdef __cplusplus
extern "C" {
@ -654,6 +659,7 @@ extern void cpp_pedwarn_with_file_and_line PVPROTO ((cpp_reader *, char *, int,
ATTRIBUTE_PRINTF_4;
extern void cpp_error_from_errno PROTO ((cpp_reader *, const char *));
extern void cpp_perror_with_name PROTO ((cpp_reader *, const char *));
extern void v_cpp_message PROTO ((cpp_reader *, int, const char *, va_list));
extern void cpp_grow_buffer PARAMS ((cpp_reader *, long));
extern int cpp_parse_escape PARAMS ((cpp_reader *, char **));