From 8f241a754fade5f56e16041236781fe9966a8ba7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 23 Feb 2000 05:40:33 +0000 Subject: [PATCH] (basename): Define without parameter so that use as function pointer also works. --- misc/libgen.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3