aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/exec.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-02-01 01:08:48 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-02-01 01:08:48 +0000
commit22626efa0f96cbca4edae882e46cb56b1879706b (patch)
tree8179b431c3e3ff86ad8d0302e31673509ac370ce /lib/libc/gen/exec.c
parentea8d448a923f0d68d7ecf1d2a0583c7d17bdee4e (diff)
downloadsrc-22626efa0f96cbca4edae882e46cb56b1879706b.tar.gz
src-22626efa0f96cbca4edae882e46cb56b1879706b.zip
* Remove 'register'. (some functions had 7+ register functions...)
* Fix SCM ID's.
Notes
Notes: svn path=/head/; revision=90041
Diffstat (limited to 'lib/libc/gen/exec.c')
-rw-r--r--lib/libc/gen/exec.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libc/gen/exec.c b/lib/libc/gen/exec.c
index cc28bb49f6e6..1cb8db753996 100644
--- a/lib/libc/gen/exec.c
+++ b/lib/libc/gen/exec.c
@@ -32,12 +32,10 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-#if 0
static char sccsid[] = "@(#)exec.c 8.1 (Berkeley) 6/4/93";
-#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "namespace.h"
#include <sys/param.h>
@@ -199,8 +197,8 @@ execvp(name, argv)
char * const *argv;
{
char **memp;
- register int cnt, lp, ln;
- register char *p;
+ int cnt, lp, ln;
+ char *p;
int eacces, save_errno;
char *bp, *cur, *path, buf[MAXPATHLEN];
struct stat sb;