summaryrefslogtreecommitdiff
path: root/gcc/c-pch.c
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-22 13:41:26 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-22 13:41:26 +0000
commit2b30d46c7032fcbb90f95d7695dfd00e56d05d46 (patch)
tree25db40631432a7695af6af0b9995522fa0bf6716 /gcc/c-pch.c
parent428602c9907da466ef309835e867067d2f1a319d (diff)
downloadgcc-2b30d46c7032fcbb90f95d7695dfd00e56d05d46.tar.gz
* c-lex.c: Convert to ISO C90.
* c-objc-common.c: Likewise. * c-opts.c: Likewise. * c-pch.c: Likewise. * c-ppoutput.c: Likewise. * c-pragma.h: Likewise. * c-pretty-print.c: Likewise. * c-pretty-print.h: Likewise. * c-semantics.c: Likewise. * c-tree.h: Likewise. * c-typeck.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68327 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-pch.c')
-rw-r--r--gcc/c-pch.c22
1 files changed, 8 insertions, 14 deletions
diff --git a/gcc/c-pch.c b/gcc/c-pch.c
index 6a2131404c9..22b7ccc3a1a 100644
--- a/gcc/c-pch.c
+++ b/gcc/c-pch.c
@@ -1,5 +1,5 @@
/* Precompiled header implementation for the C languages.
- Copyright (C) 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of GCC.
@@ -48,7 +48,7 @@ static FILE *pch_outfile;
static long asm_file_startpos;
-static const char * get_ident PARAMS((void));
+static const char *get_ident (void);
/* Compute an appropriate 8-byte magic number for the PCH file, so that
utilities like file(1) can identify it, and so that GCC can quickly
@@ -56,7 +56,7 @@ static const char * get_ident PARAMS((void));
format. */
static const char *
-get_ident()
+get_ident(void)
{
static char result[IDENT_LENGTH];
static const char template[IDENT_LENGTH] = "gpch.011";
@@ -75,7 +75,7 @@ get_ident()
compilation. */
void
-pch_init ()
+pch_init (void)
{
FILE *f;
struct c_pch_validity v;
@@ -111,7 +111,7 @@ pch_init ()
will produce a PCH file. */
void
-c_common_write_pch ()
+c_common_write_pch (void)
{
char *buf;
long asm_file_end;
@@ -157,10 +157,7 @@ c_common_write_pch ()
in this compilation. */
int
-c_common_valid_pch (pfile, name, fd)
- cpp_reader *pfile;
- const char *name;
- int fd;
+c_common_valid_pch (cpp_reader *pfile, const char *name, int fd)
{
int sizeread;
int result;
@@ -232,11 +229,8 @@ c_common_valid_pch (pfile, name, fd)
by ORIG_NAME. */
void
-c_common_read_pch (pfile, name, fd, orig_name)
- cpp_reader *pfile;
- const char *name;
- int fd;
- const char *orig_name ATTRIBUTE_UNUSED;
+c_common_read_pch (cpp_reader *pfile, const char *name,
+ int fd, const char *orig_name ATTRIBUTE_UNUSED)
{
FILE *f;
struct c_pch_header h;