aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/a29khif/getpid.c2
-rw-r--r--newlib/libc/sys/linux/getlogin.c2
-rw-r--r--newlib/libc/sys/sparc64/ieee.c8
-rw-r--r--newlib/libc/sys/sun4/ieee.c8
-rw-r--r--newlib/libc/sys/sysvi386/fpx.c6
-rw-r--r--newlib/libc/sys/sysvnecv70/fpx.c6
6 files changed, 16 insertions, 16 deletions
diff --git a/newlib/libc/sys/a29khif/getpid.c b/newlib/libc/sys/a29khif/getpid.c
index 99d88bd..5d95b93 100644
--- a/newlib/libc/sys/a29khif/getpid.c
+++ b/newlib/libc/sys/a29khif/getpid.c
@@ -6,7 +6,7 @@
<sys/types.h>. */
int
-_DEFUN_VOID (_getpid)
+_getpid (void)
{
return 1;
}
diff --git a/newlib/libc/sys/linux/getlogin.c b/newlib/libc/sys/linux/getlogin.c
index 3931e77..1cc0f4e 100644
--- a/newlib/libc/sys/linux/getlogin.c
+++ b/newlib/libc/sys/linux/getlogin.c
@@ -3,7 +3,7 @@
#include <unistd.h>
char *
-_DEFUN_VOID (getlogin)
+getlogin (void)
{
errno = ENOSYS;
return NULL;
diff --git a/newlib/libc/sys/sparc64/ieee.c b/newlib/libc/sys/sparc64/ieee.c
index 2828976..f3298e6 100644
--- a/newlib/libc/sys/sparc64/ieee.c
+++ b/newlib/libc/sys/sparc64/ieee.c
@@ -3,7 +3,7 @@
fp_rnd
-_DEFUN_VOID(fpgetround)
+fpgetround (void)
{
char *out;
ieee_flags("get", "direction","", &out);
@@ -44,7 +44,7 @@ _DEFUN(fpsetround,(new),
fp_except
-_DEFUN_VOID(fpgetmask)
+fpgetmask (void)
{
char *out;
int r = 0;
@@ -92,7 +92,7 @@ _DEFUN(fpsetsticky,(mask),
}
fp_except
-_DEFUN_VOID(fpgetsticky)
+fpgetsticky (void)
{
return fpgetmask();
}
@@ -107,7 +107,7 @@ _DEFUN(fpsetroundtoi,(rdi_mode),
}
int
-_DEFUN_VOID(fpgetroundtoi)
+fpgetroundtoi (void)
{
return 0;
diff --git a/newlib/libc/sys/sun4/ieee.c b/newlib/libc/sys/sun4/ieee.c
index 2828976..f3298e6 100644
--- a/newlib/libc/sys/sun4/ieee.c
+++ b/newlib/libc/sys/sun4/ieee.c
@@ -3,7 +3,7 @@
fp_rnd
-_DEFUN_VOID(fpgetround)
+fpgetround (void)
{
char *out;
ieee_flags("get", "direction","", &out);
@@ -44,7 +44,7 @@ _DEFUN(fpsetround,(new),
fp_except
-_DEFUN_VOID(fpgetmask)
+fpgetmask (void)
{
char *out;
int r = 0;
@@ -92,7 +92,7 @@ _DEFUN(fpsetsticky,(mask),
}
fp_except
-_DEFUN_VOID(fpgetsticky)
+fpgetsticky (void)
{
return fpgetmask();
}
@@ -107,7 +107,7 @@ _DEFUN(fpsetroundtoi,(rdi_mode),
}
int
-_DEFUN_VOID(fpgetroundtoi)
+fpgetroundtoi (void)
{
return 0;
diff --git a/newlib/libc/sys/sysvi386/fpx.c b/newlib/libc/sys/sysvi386/fpx.c
index d55a1e3..c9ff7c3 100644
--- a/newlib/libc/sys/sysvi386/fpx.c
+++ b/newlib/libc/sys/sysvi386/fpx.c
@@ -17,7 +17,7 @@ fp_except _DEFUN(fpsetmask,(newmask),
}
-fp_except _DEFUN_VOID(fpgetmask)
+fp_except fpgetmask (void)
{
v60_tkcw_type tkcw;
sysv60(0, 8, &tkcw);
@@ -25,7 +25,7 @@ fp_except _DEFUN_VOID(fpgetmask)
}
-fp_rnd _DEFUN_VOID(fpgetround)
+fp_rnd fpgetround (void)
{
v60_tkcw_type tkcw;
sysv60(0, 8, &tkcw);
@@ -49,7 +49,7 @@ fp_rnd _DEFUN(fpsetround,(rnd),
-fp_rdi _DEFUN_VOID(fpgetroundtoi)
+fp_rdi fpgetroundtoi (void)
{
v60_tkcw_type tkcw;
sysv60(0, 8, &tkcw);
diff --git a/newlib/libc/sys/sysvnecv70/fpx.c b/newlib/libc/sys/sysvnecv70/fpx.c
index d55a1e3..c9ff7c3 100644
--- a/newlib/libc/sys/sysvnecv70/fpx.c
+++ b/newlib/libc/sys/sysvnecv70/fpx.c
@@ -17,7 +17,7 @@ fp_except _DEFUN(fpsetmask,(newmask),
}
-fp_except _DEFUN_VOID(fpgetmask)
+fp_except fpgetmask (void)
{
v60_tkcw_type tkcw;
sysv60(0, 8, &tkcw);
@@ -25,7 +25,7 @@ fp_except _DEFUN_VOID(fpgetmask)
}
-fp_rnd _DEFUN_VOID(fpgetround)
+fp_rnd fpgetround (void)
{
v60_tkcw_type tkcw;
sysv60(0, 8, &tkcw);
@@ -49,7 +49,7 @@ fp_rnd _DEFUN(fpsetround,(rnd),
-fp_rdi _DEFUN_VOID(fpgetroundtoi)
+fp_rdi fpgetroundtoi (void)
{
v60_tkcw_type tkcw;
sysv60(0, 8, &tkcw);