From cb41b9e70e6fbd1cb603bb9ba4372fbb8ae87b20 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 12 Aug 2019 10:24:03 -0600 Subject: Import readline 8.0 This imports readline 8.0. readline/ChangeLog.gdb 2019-08-12 Tom Tromey * Imported readline 8.0. --- readline/xfree.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'readline/xfree.c') diff --git a/readline/xfree.c b/readline/xfree.c index 37a81e6..c199b29 100644 --- a/readline/xfree.c +++ b/readline/xfree.c @@ -1,6 +1,6 @@ /* xfree.c -- safe version of free that ignores attempts to free NUL */ -/* Copyright (C) 1991-2010 Free Software Foundation, Inc. +/* Copyright (C) 1991-2010,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. @@ -42,8 +42,7 @@ /* Use this as the function to call when adding unwind protects so we don't need to know what free() returns. */ void -xfree (string) - PTR_T string; +xfree (PTR_T string) { if (string) free (string); -- cgit v1.1