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.
This commit is contained in:
Jeff Johnston 2000-08-30 18:34:53 +00:00
parent a8382fa44c
commit db7acc382f
4 changed files with 15 additions and 4 deletions

View File

@ -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> 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
* libc/string/swab.c: Specify that it's defined in <unistd.h>. * libc/string/swab.c: Specify that it's defined in <unistd.h>.

View File

@ -70,9 +70,9 @@ No supporting OS subroutines are required.
#include <_ansi.h> #include <_ansi.h>
#ifndef lint #if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)unctrl.c 8.1 (Berkeley) 6/4/93"; 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] = { _CONST char * _CONST __unctrl[256] = {
"^@", "^A", "^B", "^C", "^D", "^E", "^F", "^G", "^@", "^A", "^B", "^C", "^D", "^E", "^F", "^G",

View File

@ -3,6 +3,10 @@
/* This and the other exec*.c files in this directory require /* This and the other exec*.c files in this directory require
the target to provide the _execve syscall. */ the target to provide the _execve syscall. */
#include <unistd.h>
int int
execve (const char *path, char * const argv[], char * const envp[]) execve (const char *path, char * const argv[], char * const envp[])
{ {

View File

@ -31,9 +31,9 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifndef lint #if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)crt0.c 5.7 (Berkeley) 7/3/91"; static char sccsid[] = "@(#)crt0.c 5.7 (Berkeley) 7/3/91";
#endif /* not lint */ #endif /* LIBC_SCCS and not lint */
/* /*
* C start up routine. * C start up routine.