diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-02-01 01:08:48 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-02-01 01:08:48 +0000 |
commit | 22626efa0f96cbca4edae882e46cb56b1879706b (patch) | |
tree | 8179b431c3e3ff86ad8d0302e31673509ac370ce /lib/libc/gen/getnetgrent.c | |
parent | ea8d448a923f0d68d7ecf1d2a0583c7d17bdee4e (diff) | |
download | src-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/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 a26c86ce6f00..aad2ae9fcfb4 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]; |