ansification: remove _NOARGS
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
parent
2310096fbc
commit
e13e191b60
|
@ -12,7 +12,7 @@ extern int errno;
|
|||
|
||||
int
|
||||
_DEFUN (_fork, (),
|
||||
_NOARGS)
|
||||
void)
|
||||
{
|
||||
errno = ENOSYS;
|
||||
return -1;
|
||||
|
|
|
@ -12,7 +12,7 @@ extern int errno;
|
|||
|
||||
int
|
||||
_DEFUN (_getpid, (),
|
||||
_NOARGS)
|
||||
void)
|
||||
{
|
||||
errno = ENOSYS;
|
||||
return -1;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
int
|
||||
_DEFUN (inbyte, (),
|
||||
_NOARGS)
|
||||
void)
|
||||
|
||||
{
|
||||
return -1;
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
|
||||
#ifdef _HAVE_STDC
|
||||
#define _PTR void *
|
||||
#define _NOARGS void
|
||||
#define _VOLATILE volatile
|
||||
#define _SIGNED signed
|
||||
#define _VOID void
|
||||
|
@ -64,7 +63,7 @@
|
|||
#define _EXFNPTR(name, proto) (* name) proto
|
||||
#endif
|
||||
#define _DEFUN(name, arglist, args) name(args)
|
||||
#define _DEFUN_VOID(name) name(_NOARGS)
|
||||
#define _DEFUN_VOID(name) name(void)
|
||||
#define _CAST_VOID (void)
|
||||
#ifndef _LONG_DOUBLE
|
||||
#define _LONG_DOUBLE long double
|
||||
|
@ -74,7 +73,6 @@
|
|||
#endif
|
||||
#else
|
||||
#define _PTR char *
|
||||
#define _NOARGS
|
||||
#define _VOLATILE
|
||||
#define _SIGNED
|
||||
#define _VOID void
|
||||
|
|
Loading…
Reference in New Issue