Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
5d672cd7
Commit
5d672cd7
authored
Oct 20, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(sys_errlist): Conditionalize declaration for BSD 4.4.
From-SVN: r5843
parent
9bbd1091
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
gcc/cccp.c
+4
-0
gcc/collect2.c
+7
-2
gcc/gcc.c
+4
-0
gcc/protoize.c
+4
-0
No files found.
gcc/cccp.c
View file @
5d672cd7
...
@@ -187,7 +187,11 @@ extern FILE *fdopen ();
...
@@ -187,7 +187,11 @@ extern FILE *fdopen ();
extern
char
*
version_string
;
extern
char
*
version_string
;
extern
struct
tm
*
localtime
();
extern
struct
tm
*
localtime
();
extern
int
sys_nerr
;
extern
int
sys_nerr
;
#if defined(bsd4_4)
extern
const
char
*
const
sys_errlist
[];
#else
extern
char
*
sys_errlist
[];
extern
char
*
sys_errlist
[];
#endif
extern
int
parse_escape
();
extern
int
parse_escape
();
#ifndef errno
#ifndef errno
...
...
gcc/collect2.c
View file @
5d672cd7
...
@@ -41,6 +41,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -41,6 +41,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
extern
int
errno
;
extern
int
errno
;
#endif
#endif
#if defined(bsd4_4)
extern
const
char
*
const
sys_errlist
[];
#else
extern
char
*
sys_errlist
[];
#endif
extern
int
sys_nerr
;
#define COLLECT
#define COLLECT
#include "config.h"
#include "config.h"
...
@@ -283,8 +290,6 @@ char *
...
@@ -283,8 +290,6 @@ char *
my_strerror
(
e
)
my_strerror
(
e
)
int
e
;
int
e
;
{
{
extern
char
*
sys_errlist
[];
extern
int
sys_nerr
;
static
char
buffer
[
30
];
static
char
buffer
[
30
];
if
(
!
e
)
if
(
!
e
)
...
...
gcc/gcc.c
View file @
5d672cd7
...
@@ -104,7 +104,11 @@ extern void free ();
...
@@ -104,7 +104,11 @@ extern void free ();
extern
char
*
getenv
();
extern
char
*
getenv
();
extern
int
errno
,
sys_nerr
;
extern
int
errno
,
sys_nerr
;
#if defined(bsd4_4)
extern
const
char
*
const
sys_errlist
[];
#else
extern
char
*
sys_errlist
[];
extern
char
*
sys_errlist
[];
#endif
extern
int
execv
(),
execvp
();
extern
int
execv
(),
execvp
();
...
...
gcc/protoize.c
View file @
5d672cd7
...
@@ -80,7 +80,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -80,7 +80,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef getopt
#undef getopt
extern
int
errno
;
extern
int
errno
;
#if defined(bsd4_4)
extern
const
char
*
const
sys_errlist
[];
#else
extern
char
*
sys_errlist
[];
extern
char
*
sys_errlist
[];
#endif
extern
char
*
version_string
;
extern
char
*
version_string
;
/* Systems which are compatible only with POSIX 1003.1-1988 (but *not*
/* Systems which are compatible only with POSIX 1003.1-1988 (but *not*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment