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/cio.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/cio.c')
-rw-r--r-- | gcc/ada/cio.c | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/gcc/ada/cio.c b/gcc/ada/cio.c index 1316455..8e4c7cb 100644 --- a/gcc/ada/cio.c +++ b/gcc/ada/cio.c @@ -52,7 +52,7 @@ #endif int -get_char () +get_char (void) { #ifdef VMS return decc$getchar(); @@ -62,7 +62,7 @@ get_char () } int -get_int () +get_int (void) { int x; @@ -71,8 +71,7 @@ get_int () } void -put_int (x) - int x; +put_int (int x) { /* Use fprintf rather than printf, since the latter is unbuffered on vxworks */ @@ -80,22 +79,19 @@ put_int (x) } void -put_int_stderr (x) - int x; +put_int_stderr (int x) { fprintf (stderr, "%d", x); } void -put_char (c) - int c; +put_char (int c) { putchar (c); } void -put_char_stderr (c) - int c; +put_char_stderr (int c) { fputc (c, stderr); } @@ -103,8 +99,7 @@ put_char_stderr (c) #ifdef __vxworks char * -mktemp (template) - char *template; +mktemp (char *template) { return tmpnam (NULL); } |