]> sourceware.org Git - newlib-cygwin.git/commitdiff
ansification: remove _NOARGS
authorYaakov Selkowitz <yselkowi@redhat.com>
Mon, 4 Dec 2017 02:32:27 +0000 (20:32 -0600)
committerYaakov Selkowitz <yselkowi@redhat.com>
Wed, 17 Jan 2018 17:47:11 +0000 (11:47 -0600)
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
libgloss/libnosys/fork.c
libgloss/libnosys/getpid.c
libgloss/mcore/cmb-inbyte.c
newlib/libc/include/_ansi.h

index f5795cb49c328bbc9128dd7264671e2fbb5d365f..5fbf68b937c95da1fb14852d7d289f31156a0eec 100644 (file)
@@ -12,7 +12,7 @@ extern int errno;
 
 int
 _DEFUN (_fork, (),
-        _NOARGS)
+        void)
 {
   errno = ENOSYS;
   return -1;
index 0ea19238ebcbf521c4332fd1b65499c6d30d15ae..9ed416c6b2bb952dbd346bfea553fd5da16759d3 100644 (file)
@@ -12,7 +12,7 @@ extern int errno;
 
 int
 _DEFUN (_getpid, (),
-        _NOARGS)
+        void)
 {
   errno = ENOSYS;
   return -1;
index 0b0b8f5d8a179f1a8c46b00f7a7f8f3133d58ae5..839ffe605b17d3569720d2403112bb729cfd0ff6 100644 (file)
@@ -16,7 +16,7 @@
 
 int
 _DEFUN (inbyte, (),
-       _NOARGS)
+       void)
 
 {
     return -1;
index a09bfac083ab21d7117ea3c701386ac24a8fb4bb..41623f7a7c0e29ae34d9bbdca9efa813847db830 100644 (file)
@@ -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
This page took 0.044499 seconds and 5 git commands to generate.