diff options
| author | simonb <simonb@NetBSD.org> | 2000-06-09 16:22:54 +0000 |
|---|---|---|
| committer | simonb <simonb@NetBSD.org> | 2000-06-09 16:22:54 +0000 |
| commit | 695f4e86f5a4d6661c19fdc8e7263b897deaeec7 (patch) | |
| tree | 26a6206665e2022d8ce815b0ea9561daa1b705f1 /lib/libc | |
| parent | 7b82c5ef6c22547be54963b861b3bb40e768bb5c (diff) | |
Remove a bit of lint.
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/nlist_coff.c | 8 | ||||
| -rw-r--r-- | lib/libc/gen/nlist_ecoff.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/gen/nlist_coff.c b/lib/libc/gen/nlist_coff.c index 28731c915eb..6c8e0db68fe 100644 --- a/lib/libc/gen/nlist_coff.c +++ b/lib/libc/gen/nlist_coff.c @@ -1,4 +1,4 @@ -/* $NetBSD: nlist_coff.c,v 1.1 2000/01/03 02:13:32 msaitoh Exp $ */ +/* $NetBSD: nlist_coff.c,v 1.2 2000/06/09 16:22:54 simonb Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: nlist_coff.c,v 1.1 2000/01/03 02:13:32 msaitoh Exp $"); +__RCSID("$NetBSD: nlist_coff.c,v 1.2 2000/06/09 16:22:54 simonb Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h" @@ -55,8 +55,8 @@ __RCSID("$NetBSD: nlist_coff.c,v 1.1 2000/01/03 02:13:32 msaitoh Exp $"); #ifdef NLIST_COFF #define check(off, size) ((off < 0) || (off + size > mappedsize)) -#define BAD do { rv = -1; goto out; } while (0) -#define BADUNMAP do { rv = -1; goto unmap; } while (0) +#define BAD do { rv = -1; goto out; } while (/*CONSTCOND*/0) +#define BADUNMAP do { rv = -1; goto unmap; } while (/*CONSTCOND*/0) #define ES_LEN 18 struct coff_extsym { diff --git a/lib/libc/gen/nlist_ecoff.c b/lib/libc/gen/nlist_ecoff.c index 05f35aa3790..a4ab167aa3f 100644 --- a/lib/libc/gen/nlist_ecoff.c +++ b/lib/libc/gen/nlist_ecoff.c @@ -1,4 +1,4 @@ -/* $NetBSD: nlist_ecoff.c,v 1.10 1999/09/20 04:39:03 lukem Exp $ */ +/* $NetBSD: nlist_ecoff.c,v 1.11 2000/06/09 16:22:55 simonb Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: nlist_ecoff.c,v 1.10 1999/09/20 04:39:03 lukem Exp $"); +__RCSID("$NetBSD: nlist_ecoff.c,v 1.11 2000/06/09 16:22:55 simonb Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h" @@ -55,8 +55,8 @@ __RCSID("$NetBSD: nlist_ecoff.c,v 1.10 1999/09/20 04:39:03 lukem Exp $"); #ifdef NLIST_ECOFF #define check(off, size) ((off < 0) || (off + size > mappedsize)) -#define BAD do { rv = -1; goto out; } while (0) -#define BADUNMAP do { rv = -1; goto unmap; } while (0) +#define BAD do { rv = -1; goto out; } while (/*CONSTCOND*/0) +#define BADUNMAP do { rv = -1; goto unmap; } while (/*CONSTCOND*/0) int __fdnlist_ecoff(fd, list) |
