diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-13 18:10:11 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-13 18:10:11 +0000 |
commit | 190cf798b224fa02fcd735f6f6638b4cc23877c2 (patch) | |
tree | c5da713474442668fccc837f3016bd7222fb3eaf /lib/libc | |
parent | e3c92b3d368d2b7184f73b5663574ee379aa21bb (diff) |
Remove neither documented nor found in any spec ctermid_r() function - ctermid()
is reentrant in its current implementation anyway.
Surfing on the recent major version bump, ok millert@ deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/ctermid.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/libc/gen/ctermid.c b/lib/libc/gen/ctermid.c index 4206dd0c6b4..fddce642d9b 100644 --- a/lib/libc/gen/ctermid.c +++ b/lib/libc/gen/ctermid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ctermid.c,v 1.6 2005/08/08 08:05:33 espie Exp $ */ +/* $OpenBSD: ctermid.c,v 1.7 2006/01/13 18:10:10 miod Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -43,12 +43,3 @@ ctermid(char *s) } return(def); } - -char * -ctermid_r(char *s) -{ - if (s) - return ctermid(s); - else - return(NULL); -} |