diff options
author | Dave Brolley <brolley@cygnus.com> | 1998-05-25 11:04:40 +0000 |
---|---|---|
committer | Dave Brolley <brolley@gcc.gnu.org> | 1998-05-25 07:04:40 -0400 |
commit | 33b019ade8136a7cdef8a39863f442e72b526333 (patch) | |
tree | f57ea5057cebd77d1dba8078d330501c13951266 /gcc/cpplib.h | |
parent | 67ffc8124f94d059eba8bcda0d1cfa070bc4eae0 (diff) | |
download | gcc-33b019ade8136a7cdef8a39863f442e72b526333.zip gcc-33b019ade8136a7cdef8a39863f442e72b526333.tar.gz gcc-33b019ade8136a7cdef8a39863f442e72b526333.tar.bz2 |
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
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 49fcc73..37468dd 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -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 **)); |