From 1cefaced3145bd6c0d9275343943285a471fde41 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 6 Oct 1995 16:33:30 +0000 Subject: moved to new development machine and went to gcc 2.7.0 --- c/build-tools/cklength.c | 3 +++ c/build-tools/eolstrip.c | 3 +++ c/build-tools/src/cklength.c | 3 +++ c/build-tools/src/eolstrip.c | 3 +++ c/src/exec/libcsupport/src/utsname.c | 2 +- c/src/exec/posix/src/utsname.c | 2 +- c/src/exec/score/cpu/unix/cpu.c | 3 +++ c/src/lib/libbsp/i386/go32/clock/rtc.c | 2 +- c/src/lib/libbsp/i386/go32/console/outch.c | 2 +- c/src/lib/libbsp/unix/posix/timer/timer.c | 2 ++ c/src/lib/libc/utsname.c | 2 +- cpukit/libcsupport/src/utsname.c | 2 +- cpukit/score/cpu/unix/cpu.c | 3 +++ tools/build/cklength.c | 3 +++ tools/build/eolstrip.c | 3 +++ tools/build/src/cklength.c | 3 +++ tools/build/src/eolstrip.c | 3 +++ 17 files changed, 38 insertions(+), 6 deletions(-) diff --git a/c/build-tools/cklength.c b/c/build-tools/cklength.c index 11169db490..3786b3985d 100644 --- a/c/build-tools/cklength.c +++ b/c/build-tools/cklength.c @@ -11,6 +11,9 @@ * * $Id$ * $Log$ + * Revision 1.2 1995/05/31 16:44:26 joel + * fixing revision + * * Revision 1.1.1.1 1995/05/11 17:35:11 joel * Release 3.1.15 * diff --git a/c/build-tools/eolstrip.c b/c/build-tools/eolstrip.c index fb9adfd003..178bcd224c 100644 --- a/c/build-tools/eolstrip.c +++ b/c/build-tools/eolstrip.c @@ -9,6 +9,9 @@ * * $Id$ * $Log$ + * Revision 1.2 1995/05/31 16:44:28 joel + * fixing revision + * * Revision 1.1.1.1 1995/05/11 17:35:12 joel * Release 3.1.15 * diff --git a/c/build-tools/src/cklength.c b/c/build-tools/src/cklength.c index 11169db490..3786b3985d 100644 --- a/c/build-tools/src/cklength.c +++ b/c/build-tools/src/cklength.c @@ -11,6 +11,9 @@ * * $Id$ * $Log$ + * Revision 1.2 1995/05/31 16:44:26 joel + * fixing revision + * * Revision 1.1.1.1 1995/05/11 17:35:11 joel * Release 3.1.15 * diff --git a/c/build-tools/src/eolstrip.c b/c/build-tools/src/eolstrip.c index fb9adfd003..178bcd224c 100644 --- a/c/build-tools/src/eolstrip.c +++ b/c/build-tools/src/eolstrip.c @@ -9,6 +9,9 @@ * * $Id$ * $Log$ + * Revision 1.2 1995/05/31 16:44:28 joel + * fixing revision + * * Revision 1.1.1.1 1995/05/11 17:35:12 joel * Release 3.1.15 * diff --git a/c/src/exec/libcsupport/src/utsname.c b/c/src/exec/libcsupport/src/utsname.c index 15bd2665f6..b3ec71e87f 100644 --- a/c/src/exec/libcsupport/src/utsname.c +++ b/c/src/exec/libcsupport/src/utsname.c @@ -21,7 +21,7 @@ int uname( { /* XXX: Here is what Solaris returns... sysname = SunOS - nodename = merlin + nodename = node_name release = 5.3 version = Generic_101318-12 machine = sun4m diff --git a/c/src/exec/posix/src/utsname.c b/c/src/exec/posix/src/utsname.c index 15bd2665f6..b3ec71e87f 100644 --- a/c/src/exec/posix/src/utsname.c +++ b/c/src/exec/posix/src/utsname.c @@ -21,7 +21,7 @@ int uname( { /* XXX: Here is what Solaris returns... sysname = SunOS - nodename = merlin + nodename = node_name release = 5.3 version = Generic_101318-12 machine = sun4m diff --git a/c/src/exec/score/cpu/unix/cpu.c b/c/src/exec/score/cpu/unix/cpu.c index a7b2140742..347882ddcc 100644 --- a/c/src/exec/score/cpu/unix/cpu.c +++ b/c/src/exec/score/cpu/unix/cpu.c @@ -21,10 +21,13 @@ #include #if defined(solaris2) +/* #undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 3 #undef __STRICT_ANSI__ #define __STRICT_ANSI__ +*/ +#define __EXTENSIONS__ #endif #if defined(linux) diff --git a/c/src/lib/libbsp/i386/go32/clock/rtc.c b/c/src/lib/libbsp/i386/go32/clock/rtc.c index 6a28c229ad..38e9497000 100644 --- a/c/src/lib/libbsp/i386/go32/clock/rtc.c +++ b/c/src/lib/libbsp/i386/go32/clock/rtc.c @@ -36,7 +36,7 @@ #include -#include +#include void init_rtc( void ) { diff --git a/c/src/lib/libbsp/i386/go32/console/outch.c b/c/src/lib/libbsp/i386/go32/console/outch.c index 07cfc0625b..fa4422e1b3 100644 --- a/c/src/lib/libbsp/i386/go32/console/outch.c +++ b/c/src/lib/libbsp/i386/go32/console/outch.c @@ -5,7 +5,7 @@ #include #include -#include +#include #define MAX_COL 80 #define MAX_ROW 50 diff --git a/c/src/lib/libbsp/unix/posix/timer/timer.c b/c/src/lib/libbsp/unix/posix/timer/timer.c index e1b9704072..abe7e6d6fd 100644 --- a/c/src/lib/libbsp/unix/posix/timer/timer.c +++ b/c/src/lib/libbsp/unix/posix/timer/timer.c @@ -16,6 +16,8 @@ * $Id$ */ +/* For solaris 2.4 */ +#define __EXTENSIONS__ #include #include diff --git a/c/src/lib/libc/utsname.c b/c/src/lib/libc/utsname.c index 15bd2665f6..b3ec71e87f 100644 --- a/c/src/lib/libc/utsname.c +++ b/c/src/lib/libc/utsname.c @@ -21,7 +21,7 @@ int uname( { /* XXX: Here is what Solaris returns... sysname = SunOS - nodename = merlin + nodename = node_name release = 5.3 version = Generic_101318-12 machine = sun4m diff --git a/cpukit/libcsupport/src/utsname.c b/cpukit/libcsupport/src/utsname.c index 15bd2665f6..b3ec71e87f 100644 --- a/cpukit/libcsupport/src/utsname.c +++ b/cpukit/libcsupport/src/utsname.c @@ -21,7 +21,7 @@ int uname( { /* XXX: Here is what Solaris returns... sysname = SunOS - nodename = merlin + nodename = node_name release = 5.3 version = Generic_101318-12 machine = sun4m diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c index a7b2140742..347882ddcc 100644 --- a/cpukit/score/cpu/unix/cpu.c +++ b/cpukit/score/cpu/unix/cpu.c @@ -21,10 +21,13 @@ #include #if defined(solaris2) +/* #undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 3 #undef __STRICT_ANSI__ #define __STRICT_ANSI__ +*/ +#define __EXTENSIONS__ #endif #if defined(linux) diff --git a/tools/build/cklength.c b/tools/build/cklength.c index 11169db490..3786b3985d 100644 --- a/tools/build/cklength.c +++ b/tools/build/cklength.c @@ -11,6 +11,9 @@ * * $Id$ * $Log$ + * Revision 1.2 1995/05/31 16:44:26 joel + * fixing revision + * * Revision 1.1.1.1 1995/05/11 17:35:11 joel * Release 3.1.15 * diff --git a/tools/build/eolstrip.c b/tools/build/eolstrip.c index fb9adfd003..178bcd224c 100644 --- a/tools/build/eolstrip.c +++ b/tools/build/eolstrip.c @@ -9,6 +9,9 @@ * * $Id$ * $Log$ + * Revision 1.2 1995/05/31 16:44:28 joel + * fixing revision + * * Revision 1.1.1.1 1995/05/11 17:35:12 joel * Release 3.1.15 * diff --git a/tools/build/src/cklength.c b/tools/build/src/cklength.c index 11169db490..3786b3985d 100644 --- a/tools/build/src/cklength.c +++ b/tools/build/src/cklength.c @@ -11,6 +11,9 @@ * * $Id$ * $Log$ + * Revision 1.2 1995/05/31 16:44:26 joel + * fixing revision + * * Revision 1.1.1.1 1995/05/11 17:35:11 joel * Release 3.1.15 * diff --git a/tools/build/src/eolstrip.c b/tools/build/src/eolstrip.c index fb9adfd003..178bcd224c 100644 --- a/tools/build/src/eolstrip.c +++ b/tools/build/src/eolstrip.c @@ -9,6 +9,9 @@ * * $Id$ * $Log$ + * Revision 1.2 1995/05/31 16:44:28 joel + * fixing revision + * * Revision 1.1.1.1 1995/05/11 17:35:12 joel * Release 3.1.15 * -- cgit v1.2.3