summaryrefslogtreecommitdiff
path: root/openbsd-compat/strsep.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2003-08-25 01:10:51 +0000
committerBen Lindstrom <mouring@eviladmin.org>2003-08-25 01:10:51 +0000
commitaf4a6c3a5619299a16cfbb545cde110849596204 (patch)
tree4145a5d683ef920d9c1068c09d028e1ce5a73d96 /openbsd-compat/strsep.c
parent331b6af8fa96417cf126383de7e2ed024b7c7e2c (diff)
- (bal) openbsd-compat/ OpenBSD updates. Mostly licensing, ansifications
and minor fixes.
Diffstat (limited to 'openbsd-compat/strsep.c')
-rw-r--r--openbsd-compat/strsep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsd-compat/strsep.c b/openbsd-compat/strsep.c
index d7fcc60a0..b13671343 100644
--- a/openbsd-compat/strsep.c
+++ b/openbsd-compat/strsep.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: strsep.c,v 1.4 2003/06/02 20:18:38 millert Exp $ */ 1/* $OpenBSD: strsep.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 1990, 1993 4 * Copyright (c) 1990, 1993
@@ -40,7 +40,7 @@
40#if 0 40#if 0
41static char sccsid[] = "@(#)strsep.c 8.1 (Berkeley) 6/4/93"; 41static char sccsid[] = "@(#)strsep.c 8.1 (Berkeley) 6/4/93";
42#else 42#else
43static char *rcsid = "$OpenBSD: strsep.c,v 1.4 2003/06/02 20:18:38 millert Exp $"; 43static char *rcsid = "$OpenBSD: strsep.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
44#endif 44#endif
45#endif /* LIBC_SCCS and not lint */ 45#endif /* LIBC_SCCS and not lint */
46 46
@@ -58,9 +58,9 @@ static char *rcsid = "$OpenBSD: strsep.c,v 1.4 2003/06/02 20:18:38 millert Exp $
58char * 58char *
59strsep(char **stringp, const char *delim) 59strsep(char **stringp, const char *delim)
60{ 60{
61 register char *s; 61 char *s;
62 register const char *spanp; 62 const char *spanp;
63 register int c, sc; 63 int c, sc;
64 char *tok; 64 char *tok;
65 65
66 if ((s = *stringp) == NULL) 66 if ((s = *stringp) == NULL)