diff options
author | 1999-01-03 05:33:48 +0000 | |
---|---|---|
committer | 1999-01-03 05:33:48 +0000 | |
commit | 8b6f9cfe06b21c47fdd4ba710555cf87af18db99 (patch) | |
tree | a9a91ae313cce6dbd11f8ae326b818ee435c7173 /usr.bin/patch/util.h | |
parent | back out last change, other parts of patch rely on basename() returning a ptr to a part of name, not a new string (diff) | |
download | wireguard-openbsd-8b6f9cfe06b21c47fdd4ba710555cf87af18db99.tar.xz wireguard-openbsd-8b6f9cfe06b21c47fdd4ba710555cf87af18db99.zip |
Use libc basename(3) and dirname(3) instead of defining our own. Also clean up some nasty assumptions that basename() returns a pointer that lies within its argument
Diffstat (limited to 'usr.bin/patch/util.h')
-rw-r--r-- | usr.bin/patch/util.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/patch/util.h b/usr.bin/patch/util.h index a396135b652..e57966db80a 100644 --- a/usr.bin/patch/util.h +++ b/usr.bin/patch/util.h @@ -1,4 +1,4 @@ -/* $OpenBSD: util.h,v 1.2 1996/06/10 11:21:35 niklas Exp $ */ +/* $OpenBSD: util.h,v 1.3 1999/01/03 05:33:49 millert Exp $ */ /* and for those machine that can't handle a variable argument list */ @@ -79,4 +79,3 @@ char *savestr(); void set_signals(); void ignore_signals(); void makedirs(); -char *basename(); |