diff options
author | R. Kelley Cook <kcook@gcc.gnu.org> | 2003-10-31 01:08:43 +0000 |
---|---|---|
committer | R. Kelley Cook <kcook@gcc.gnu.org> | 2003-10-31 01:08:43 +0000 |
commit | 9373164a48dc470b44c1ec9431213ce8c06323e5 (patch) | |
tree | ee92d17300eb95b03e9b66263bbb9e1407851aa2 /gcc/ada/aux-io.c | |
parent | 6587cd2b21cd246a7a2986e4d7f400a5d4e25a4b (diff) | |
download | gcc-9373164a48dc470b44c1ec9431213ce8c06323e5.zip gcc-9373164a48dc470b44c1ec9431213ce8c06323e5.tar.gz gcc-9373164a48dc470b44c1ec9431213ce8c06323e5.tar.bz2 |
C90 prototype updates.
From-SVN: r73113
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 8185f2e..333485d 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); } |