aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r--newlib/libc/stdlib/abort.c2
-rw-r--r--newlib/libc/stdlib/atexit.c2
-rw-r--r--newlib/libc/stdlib/lcong48.c4
-rw-r--r--newlib/libc/stdlib/on_exit.c2
-rw-r--r--newlib/libc/stdlib/srand48.c4
5 files changed, 7 insertions, 7 deletions
diff --git a/newlib/libc/stdlib/abort.c b/newlib/libc/stdlib/abort.c
index ae0c2fb..065dee5 100644
--- a/newlib/libc/stdlib/abort.c
+++ b/newlib/libc/stdlib/abort.c
@@ -46,7 +46,7 @@ Supporting OS subroutines required: <<_exit>> and optionally, <<write>>.
#include <unistd.h>
#include <signal.h>
-_VOID
+void
abort (void)
{
#ifdef ABORT_MESSAGE
diff --git a/newlib/libc/stdlib/atexit.c b/newlib/libc/stdlib/atexit.c
index 7818089..1710aff 100644
--- a/newlib/libc/stdlib/atexit.c
+++ b/newlib/libc/stdlib/atexit.c
@@ -55,7 +55,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
_DEFUN (atexit,
(fn),
- _VOID _EXFNPTR(fn, (_VOID)))
+ void _EXFNPTR(fn, (void)))
{
return __register_exitproc (__et_atexit, fn, NULL, NULL);
}
diff --git a/newlib/libc/stdlib/lcong48.c b/newlib/libc/stdlib/lcong48.c
index f40dede..a16d49e 100644
--- a/newlib/libc/stdlib/lcong48.c
+++ b/newlib/libc/stdlib/lcong48.c
@@ -13,7 +13,7 @@
#include "rand48.h"
-_VOID
+void
_DEFUN (_lcong48_r, (r, p),
struct _reent *r,
unsigned short p[7])
@@ -29,7 +29,7 @@ _DEFUN (_lcong48_r, (r, p),
}
#ifndef _REENT_ONLY
-_VOID
+void
_DEFUN (lcong48, (p),
unsigned short p[7])
{
diff --git a/newlib/libc/stdlib/on_exit.c b/newlib/libc/stdlib/on_exit.c
index 329b254..97d107e 100644
--- a/newlib/libc/stdlib/on_exit.c
+++ b/newlib/libc/stdlib/on_exit.c
@@ -68,7 +68,7 @@ const void * const __on_exit_dummy = &__on_exit_args;
int
_DEFUN (on_exit,
(fn, arg),
- _VOID _EXFNPTR(fn, (int, void *)),
+ void _EXFNPTR(fn, (int, void *)),
void *arg)
{
return __register_exitproc (__et_onexit, (void (*)(void)) fn, arg, NULL);
diff --git a/newlib/libc/stdlib/srand48.c b/newlib/libc/stdlib/srand48.c
index 7042e83..1eac2a1 100644
--- a/newlib/libc/stdlib/srand48.c
+++ b/newlib/libc/stdlib/srand48.c
@@ -13,7 +13,7 @@
#include "rand48.h"
-_VOID
+void
_DEFUN (_srand48_r, (r, seed),
struct _reent *r,
long seed)
@@ -29,7 +29,7 @@ _DEFUN (_srand48_r, (r, seed),
}
#ifndef _REENT_ONLY
-_VOID
+void
_DEFUN (srand48, (seed),
long seed)
{