diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-03-02 12:27:27 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-03-02 12:27:27 +0000 |
commit | 3403df80f50428f5308be2abdd19b9d7bf6a9a4d (patch) | |
tree | 467b84d453f5f5e3ec3953288ded5fdb6fee0dfd /lib | |
parent | 212c431535a3994853fb268844552454fbc0ee5d (diff) |
Consistent #if protection of rcs ids; Francois Perrad
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/basename.c | 8 | ||||
-rw-r--r-- | lib/libc/gen/dirname.c | 8 | ||||
-rw-r--r-- | lib/libc/net/inet_neta.c | 8 |
3 files changed, 10 insertions, 14 deletions
diff --git a/lib/libc/gen/basename.c b/lib/libc/gen/basename.c index deb0288c96c..cae56237afd 100644 --- a/lib/libc/gen/basename.c +++ b/lib/libc/gen/basename.c @@ -1,4 +1,4 @@ -/* $OpenBSD: basename.c,v 1.12 2004/11/25 16:21:25 millert Exp $ */ +/* $OpenBSD: basename.c,v 1.13 2005/03/02 12:27:26 millert Exp $ */ /* * Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com> @@ -16,9 +16,9 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifndef lint -static char rcsid[] = "$OpenBSD: basename.c,v 1.12 2004/11/25 16:21:25 millert Exp $"; -#endif /* not lint */ +#if defined(LIBC_SCCS) && !defined(lint) +static char rcsid[] = "$OpenBSD: basename.c,v 1.13 2005/03/02 12:27:26 millert Exp $"; +#endif /* LIBC_SCCS and not lint */ #include <errno.h> #include <libgen.h> diff --git a/lib/libc/gen/dirname.c b/lib/libc/gen/dirname.c index d05d8d0d1ba..bcac0824e6e 100644 --- a/lib/libc/gen/dirname.c +++ b/lib/libc/gen/dirname.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dirname.c,v 1.11 2004/11/25 16:21:25 millert Exp $ */ +/* $OpenBSD: dirname.c,v 1.12 2005/03/02 12:27:26 millert Exp $ */ /* * Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com> @@ -16,9 +16,9 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifndef lint -static char rcsid[] = "$OpenBSD: dirname.c,v 1.11 2004/11/25 16:21:25 millert Exp $"; -#endif /* not lint */ +#if defined(LIBC_SCCS) && !defined(lint) +static char rcsid[] = "$OpenBSD: dirname.c,v 1.12 2005/03/02 12:27:26 millert Exp $"; +#endif /* LIBC_SCCS and not lint */ #include <errno.h> #include <libgen.h> diff --git a/lib/libc/net/inet_neta.c b/lib/libc/net/inet_neta.c index 6960bcd0b5b..c13e084d2d3 100644 --- a/lib/libc/net/inet_neta.c +++ b/lib/libc/net/inet_neta.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet_neta.c,v 1.4 2002/08/19 03:01:54 itojun Exp $ */ +/* $OpenBSD: inet_neta.c,v 1.5 2005/03/02 12:27:26 millert Exp $ */ /* * Copyright (c) 1996 by Internet Software Consortium. @@ -18,11 +18,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -#if 0 -static const char rcsid[] = "$Id: inet_neta.c,v 1.4 2002/08/19 03:01:54 itojun Exp $"; -#else -static const char rcsid[] = "$OpenBSD: inet_neta.c,v 1.4 2002/08/19 03:01:54 itojun Exp $"; -#endif +static const char rcsid[] = "$OpenBSD: inet_neta.c,v 1.5 2005/03/02 12:27:26 millert Exp $"; #endif #include <sys/types.h> |