diff options
author | kcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-31 01:08:43 +0000 |
---|---|---|
committer | kcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-31 01:08:43 +0000 |
commit | 6f2c2693f7ca65a692e88bcc8f74ca73e4462c37 (patch) | |
tree | ee92d17300eb95b03e9b66263bbb9e1407851aa2 /gcc/ada/aux-io.c | |
parent | 84b5e3f34b717e4431cde5f4e24c1dda7d548a42 (diff) | |
download | gcc-6f2c2693f7ca65a692e88bcc8f74ca73e4462c37.tar.gz |
C90 prototype updates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73113 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/aux-io.c')
-rw-r--r-- | gcc/ada/aux-io.c | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/gcc/ada/aux-io.c b/gcc/ada/aux-io.c index 8185f2e033b..333485d6309 100644 --- a/gcc/ada/aux-io.c +++ b/gcc/ada/aux-io.c @@ -43,28 +43,28 @@ /* Function wrappers are needed to access the values from Ada which are defined as C macros. */ -FILE *c_stdin PARAMS ((void)); -FILE *c_stdout PARAMS ((void)); -FILE *c_stderr PARAMS ((void)); -int seek_set_function PARAMS ((void)); -int seek_end_function PARAMS ((void)); -void *null_function PARAMS ((void)); -int c_fileno PARAMS ((FILE *)); +FILE *c_stdin (void); +FILE *c_stdout (void); +FILE *c_stderr (void); +int seek_set_function (void); +int seek_end_function (void); +void *null_function (void); +int c_fileno (FILE *); FILE * -c_stdin () +c_stdin (void) { return stdin; } FILE * -c_stdout () +c_stdout (void) { return stdout; } FILE * -c_stderr () +c_stderr (void) { return stderr; } @@ -76,25 +76,24 @@ c_stderr () #endif int -seek_set_function () +seek_set_function (void) { return SEEK_SET; } int -seek_end_function () +seek_end_function (void) { return SEEK_END; } -void *null_function () +void *null_function (void) { return NULL; } int -c_fileno (s) - FILE *s; +c_fileno (FILE *s) { return fileno (s); } |