Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2018-01-18 18:46:47 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-18 18:46:47 +0300
commit1484281388e4c8dbfd6521f143476e082bc9bcbb (patch)
treea21a3aebfb5e20f60f5997ba5f246e6b073674f2
parentf2c9e55faf6fa560c25d448afa7e2d1ad61468f2 (diff)
ansification: unifdef -D__STDC__ libgloss
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
-rw-r--r--libgloss/i960/asm.h6
-rw-r--r--libgloss/rs6000/sol-cfuncs.c4
2 files changed, 1 insertions, 9 deletions
diff --git a/libgloss/i960/asm.h b/libgloss/i960/asm.h
index 959569746..5d165e884 100644
--- a/libgloss/i960/asm.h
+++ b/libgloss/i960/asm.h
@@ -1,11 +1,7 @@
#ifndef ASM_H
#define ASM_H
-#ifdef __STDC__
-# define _C_LABEL(x) _ ## x
-#else
-# define _C_LABEL(x) _/**/x
-#endif
+#define _C_LABEL(x) _ ## x
#define _ASM_LABEL(x) x
#define _ENTRY(name) \
diff --git a/libgloss/rs6000/sol-cfuncs.c b/libgloss/rs6000/sol-cfuncs.c
index 982716746..2ed9da4e9 100644
--- a/libgloss/rs6000/sol-cfuncs.c
+++ b/libgloss/rs6000/sol-cfuncs.c
@@ -19,10 +19,6 @@
#include <sys/stat.h>
#include <sys/unistd.h>
-#ifndef __STDC__
-#define const
-#endif
-
/* Solaris stat packet */
typedef long solaris_off_t;
typedef long solaris_uid_t;