(basename): Define without parameter so that use as function pointer

also works.
This commit is contained in:
Ulrich Drepper 2000-02-23 05:40:33 +00:00
parent 1c2520a06a
commit 8f241a754f

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -33,7 +33,7 @@ extern char *dirname __P ((char *__path));
<string.h>) and only if this header is included make the XPG
version available under the real name. */
extern char *__xpg_basename __P ((char *__path));
#define basename(path) __xpg_basename (path)
#define basename __xpg_basename
__END_DECLS