From: Ulrich Drepper Date: Wed, 23 Feb 2000 05:40:33 +0000 (+0000) Subject: (basename): Define without parameter so that use as function pointer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f241a754fade5f56e16041236781fe9966a8ba7;p=thirdparty%2Fglibc.git (basename): Define without parameter so that use as function pointer also works. --- diff --git a/misc/libgen.h b/misc/libgen.h index 87c9d3f9677..a7f026e0927 100644 --- a/misc/libgen.h +++ b/misc/libgen.h @@ -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)); ) 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