summaryrefslogtreecommitdiff
path: root/libiberty/lbasename.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/lbasename.c')
-rw-r--r--libiberty/lbasename.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libiberty/lbasename.c b/libiberty/lbasename.c
index 200a87f2387..4afe890013e 100644
--- a/libiberty/lbasename.c
+++ b/libiberty/lbasename.c
@@ -43,8 +43,7 @@ and a path ending in @code{/} returns the empty string after it.
#include "filenames.h"
const char *
-lbasename (name)
- const char *name;
+lbasename (const char *name)
{
const char *base;