diff options
author | 1999-05-28 22:00:20 +0000 | |
---|---|---|
committer | 1999-05-28 22:00:20 +0000 | |
commit | ffaea6318bcea02774e2d1259c78bc7addf9645f (patch) | |
tree | ea0320c88b08a117e80d0ac98e6caf1d1ff71bb6 /lib/libc/gen/basename.3 | |
parent | Oops, missed in last commit: additional AUDIO definitions (diff) | |
download | wireguard-openbsd-ffaea6318bcea02774e2d1259c78bc7addf9645f.tar.xz wireguard-openbsd-ffaea6318bcea02774e2d1259c78bc7addf9645f.zip |
proper const semantics for dirname & basename.
(this follows FreeBSD and Linux. Single Unix 2 is still illogical)
Diffstat (limited to 'lib/libc/gen/basename.3')
-rw-r--r-- | lib/libc/gen/basename.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/basename.3 b/lib/libc/gen/basename.3 index b19d7c691fb..543eb2bc0dd 100644 --- a/lib/libc/gen/basename.3 +++ b/lib/libc/gen/basename.3 @@ -24,7 +24,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: basename.3,v 1.8 1999/05/28 16:28:05 espie Exp $ +.\" $OpenBSD: basename.3,v 1.9 1999/05/28 22:00:21 espie Exp $ .\" .Dd August 17, 1997 .Dt BASENAME 3 @@ -35,7 +35,7 @@ .Sh SYNOPSIS .Fd #include <libgen.h> .Ft char * -.Fn basename "char *path" +.Fn basename "const char *path" .Sh DESCRIPTION The .Fn basename |