diff options
author | obrien <obrien@FreeBSD.org> | 2002-02-01 01:08:48 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-02-01 01:08:48 +0000 |
commit | 21d62aab619b3796c765c898c9caaa4179629580 (patch) | |
tree | 8179b431c3e3ff86ad8d0302e31673509ac370ce /lib/libc/gen/getnetgrent.c | |
parent | 675250e8eb2f1e93e8238f6611a7c3ae8d42d264 (diff) | |
download | FreeBSD-src-21d62aab619b3796c765c898c9caaa4179629580.zip FreeBSD-src-21d62aab619b3796c765c898c9caaa4179629580.tar.gz |
* Remove 'register'. (some functions had 7+ register functions...)
* Fix SCM ID's.
Diffstat (limited to 'lib/libc/gen/getnetgrent.c')
-rw-r--r-- | lib/libc/gen/getnetgrent.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/gen/getnetgrent.c b/lib/libc/gen/getnetgrent.c index a26c86c..aad2ae9 100644 --- a/lib/libc/gen/getnetgrent.c +++ b/lib/libc/gen/getnetgrent.c @@ -32,13 +32,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)getnetgrent.c 8.2 (Berkeley) 4/27/95"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <stdio.h> #include <strings.h> @@ -242,8 +242,8 @@ getnetgrent(hostp, userp, domp) void endnetgrent() { - register struct linelist *lp, *olp; - register struct netgrp *gp, *ogp; + struct linelist *lp, *olp; + struct netgrp *gp, *ogp; lp = linehead; while (lp) { @@ -411,10 +411,10 @@ static int parse_netgrp(group) char *group; { - register char *spos, *epos; - register int len, strpos; + char *spos, *epos; + int len, strpos; #ifdef DEBUG - register int fields; + int fields; #endif char *pos, *gpos; struct netgrp *grp; @@ -522,8 +522,8 @@ static struct linelist * read_for_group(group) char *group; { - register char *pos, *spos, *linep, *olinep; - register int len, olen; + char *pos, *spos, *linep, *olinep; + int len, olen; int cont; struct linelist *lp; char line[LINSIZ + 2]; |