Browse Source

proper const semantics for dirname & basename.

(this follows FreeBSD and Linux. Single Unix 2 is still illogical)
OPENBSD_2_6
espie 25 years ago
parent
commit
e13aed530b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/include/libgen.h

+ 3
- 3
src/include/libgen.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: libgen.h,v 1.3 1998/06/21 22:13:36 millert Exp $ */
/* $OpenBSD: libgen.h,v 1.4 1999/05/28 22:00:22 espie Exp $ */
/* /*
* Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
@ -34,8 +34,8 @@
__BEGIN_DECLS __BEGIN_DECLS
char *basename __P((char *));
char *dirname __P((char *));
char *basename __P((const char *));
char *dirname __P((const char *));
#if 0 #if 0
char *regcmp __P((const char *, ...)); char *regcmp __P((const char *, ...));
char *regex __P((const char *, const char *, ...)); char *regex __P((const char *, const char *, ...));


Loading…
Cancel
Save