diff options
author | imp <imp@FreeBSD.org> | 2000-09-04 03:54:23 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-09-04 03:54:23 +0000 |
commit | 56dbb8be3c41739ec86f78e8668229a45a417209 (patch) | |
tree | 5b0be72aeef9931d7619a77c2c142b9c53e64e26 /lib/libss | |
parent | 78c14ae89a92aa9260ed9b0a20930a490b386746 (diff) | |
download | FreeBSD-src-56dbb8be3c41739ec86f78e8668229a45a417209.zip FreeBSD-src-56dbb8be3c41739ec86f78e8668229a45a417209.tar.gz |
Get errno from <errno.h>, not from extern int.
Add $FreeBSD$ to hopefully the right place.
Diffstat (limited to 'lib/libss')
-rw-r--r-- | lib/libss/help.c | 5 | ||||
-rw-r--r-- | lib/libss/pager.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lib/libss/help.c b/lib/libss/help.c index 078224d..19f22b1 100644 --- a/lib/libss/help.c +++ b/lib/libss/help.c @@ -1,3 +1,5 @@ +/* $FreeBSD$ */ + /* * Copyright 1987, 1988 by MIT Student Information Processing Board * @@ -8,13 +10,12 @@ #include <sys/file.h> #include <sys/wait.h> #include <dirent.h> +#include <errno.h> #include <stdlib.h> #include <unistd.h> #include "ss_internal.h" #include "copyright.h" -extern int errno; - void ss_help (argc, argv, sci_idx, info_ptr) int argc; char const * const *argv; diff --git a/lib/libss/pager.c b/lib/libss/pager.c index b419725..988f8d9 100644 --- a/lib/libss/pager.c +++ b/lib/libss/pager.c @@ -1,3 +1,5 @@ +/* $FreeBSD$ */ + /* * Pager: Routines to create a "more" running out of a particular file * descriptor. @@ -9,6 +11,7 @@ #include "ss_internal.h" #include "copyright.h" +#include <errno.h> #include <stdio.h> #include <sys/file.h> #include <signal.h> @@ -17,7 +20,6 @@ static char MORE[] = "more"; extern char *_ss_pager_name; extern char *getenv(); -extern int errno; /* * this needs a *lot* of work.... |