ansification: remove _DEFUN_VOID

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
Yaakov Selkowitz
2017-12-03 21:00:43 -06:00
parent 670b01da7f
commit fff27f8429
47 changed files with 94 additions and 96 deletions

View File

@ -6,7 +6,7 @@
<sys/types.h>. */
int
_DEFUN_VOID (_getpid)
_getpid (void)
{
return 1;
}

View File

@ -3,7 +3,7 @@
#include <unistd.h>
char *
_DEFUN_VOID (getlogin)
getlogin (void)
{
errno = ENOSYS;
return NULL;

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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);