diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2000-08-30 18:34:53 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2000-08-30 18:34:53 +0000 |
commit | db7acc382fd5b2c5e58c0413028a367574e5c8b8 (patch) | |
tree | d5a197996e9d8abc1ba2d78f473aa7e9ae17e2db | |
parent | a8382fa44c26584947f61193caf9c40d85779622 (diff) | |
download | newlib-db7acc382fd5b2c5e58c0413028a367574e5c8b8.zip newlib-db7acc382fd5b2c5e58c0413028a367574e5c8b8.tar.gz newlib-db7acc382fd5b2c5e58c0413028a367574e5c8b8.tar.bz2 |
2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
* libc/posix/execve.c: included unistd.h for "_execve" prototype.
* libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
"#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
everywhere else.
-rw-r--r-- | newlib/ChangeLog | 7 | ||||
-rw-r--r-- | newlib/libc/misc/unctrl.c | 4 | ||||
-rw-r--r-- | newlib/libc/posix/execve.c | 4 | ||||
-rw-r--r-- | newlib/libc/sys/sysvi386/crt0.c | 4 |
4 files changed, 15 insertions, 4 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 0feee13..368d2bc 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,10 @@ +2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch> + + * libc/posix/execve.c: included unistd.h for "_execve" prototype. + * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed + "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like + everywhere else. + 2000-08-30 Geoffrey Keating <geoffk@cygnus.com> * libc/string/swab.c: Specify that it's defined in <unistd.h>. diff --git a/newlib/libc/misc/unctrl.c b/newlib/libc/misc/unctrl.c index e7350c6..710bf16 100644 --- a/newlib/libc/misc/unctrl.c +++ b/newlib/libc/misc/unctrl.c @@ -70,9 +70,9 @@ No supporting OS subroutines are required. #include <_ansi.h> -#ifndef lint +#if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)unctrl.c 8.1 (Berkeley) 6/4/93"; -#endif /* not lint */ +#endif /* LIBC_SCCS and not lint */ _CONST char * _CONST __unctrl[256] = { "^@", "^A", "^B", "^C", "^D", "^E", "^F", "^G", diff --git a/newlib/libc/posix/execve.c b/newlib/libc/posix/execve.c index 416144e..1be0ed1 100644 --- a/newlib/libc/posix/execve.c +++ b/newlib/libc/posix/execve.c @@ -3,6 +3,10 @@ /* This and the other exec*.c files in this directory require the target to provide the _execve syscall. */ + +#include <unistd.h> + + int execve (const char *path, char * const argv[], char * const envp[]) { diff --git a/newlib/libc/sys/sysvi386/crt0.c b/newlib/libc/sys/sysvi386/crt0.c index 7949b3d..b41c00a 100644 --- a/newlib/libc/sys/sysvi386/crt0.c +++ b/newlib/libc/sys/sysvi386/crt0.c @@ -31,9 +31,9 @@ * SUCH DAMAGE. */ -#ifndef lint +#if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)crt0.c 5.7 (Berkeley) 7/3/91"; -#endif /* not lint */ +#endif /* LIBC_SCCS and not lint */ /* * C start up routine. |