aboutsummaryrefslogtreecommitdiff
path: root/readline/savestring.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline/savestring.c')
-rw-r--r--readline/savestring.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/readline/savestring.c b/readline/savestring.c
index af98538..f4bb6aa 100644
--- a/readline/savestring.c
+++ b/readline/savestring.c
@@ -1,6 +1,6 @@
/* savestring.c - function version of savestring for backwards compatibility */
-/* Copyright (C) 1998,2003 Free Software Foundation, Inc.
+/* Copyright (C) 1998,2003,2017 Free Software Foundation, Inc.
This file is part of the GNU Readline Library (Readline), a library
for reading lines of text with interactive input and history editing.
@@ -30,8 +30,7 @@
/* Backwards compatibility, now that savestring has been removed from
all `public' readline header files. */
char *
-savestring (s)
- const char *s;
+savestring (const char *s)
{
char *ret;