summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-10 23:07:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-10 23:07:31 +0000
commitb7f1ffdeb0b38c5535577b8b29c09ea4df9d10f7 (patch)
tree827010595fd40954d2e6d3e78096dc423b6beb65
parent5b4971dc6b595a8130a272926cdd66a9d3de88f0 (diff)
NO abort() CALLS IN LIBC
-rw-r--r--lib/libc/gen/getnetgrent.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/libc/gen/getnetgrent.c b/lib/libc/gen/getnetgrent.c
index 153f5521c0d..1b6b6432ebb 100644
--- a/lib/libc/gen/getnetgrent.c
+++ b/lib/libc/gen/getnetgrent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getnetgrent.c,v 1.6 1997/07/23 21:04:05 kstailey Exp $ */
+/* $OpenBSD: getnetgrent.c,v 1.7 1997/10/10 23:07:30 deraadt Exp $ */
/*
* Copyright (c) 1994 Christos Zoulas
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: getnetgrent.c,v 1.6 1997/07/23 21:04:05 kstailey Exp $";
+static char *rcsid = "$OpenBSD: getnetgrent.c,v 1.7 1997/10/10 23:07:30 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -299,10 +299,6 @@ lookup(ypdom, name, line, bywhat)
case _NG_KEYBYHOST:
map = "netgroup.byhost";
break;
-
- default:
- abort();
- break;
}
@@ -415,10 +411,6 @@ addgroup(ypdom, sl, grp)
case _NG_ERROR:
return;
-
- default:
- abort();
- return;
}
}
}
@@ -518,10 +510,6 @@ in_find(ypdom, sl, grp, host, user, domain)
case _NG_ERROR:
free(line);
return 0;
-
- default:
- abort();
- return 0;
}
}
}