mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-10 14:35:30 +08:00
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:
parent
67ffc8124f
commit
33b019ade8
@ -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.
|
||||
|
@ -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. */
|
||||
|
||||
|
@ -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 *,
|
||||
|
@ -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 **));
|
||||
|
Loading…
Reference in New Issue
Block a user