From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2178) id 0C87D386189F; Wed, 8 Jul 2020 13:06:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C87D386189F Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc] string: Fix prototype mismatch in sigabbrev_np, __sigdescr_np X-Act-Checkin: glibc X-Git-Author: Florian Weimer X-Git-Refname: refs/heads/master X-Git-Oldrev: beea361050728138b82c57dda0c4810402d342b9 X-Git-Newrev: 5b2deed8a5d5cca2d82423572415a1c629bea488 Message-Id: <20200708130623.0C87D386189F@sourceware.org> Date: Wed, 8 Jul 2020 13:06:23 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2020 13:06:23 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5b2deed8a5d5cca2d82423572415a1c629bea488 commit 5b2deed8a5d5cca2d82423572415a1c629bea488 Author: Florian Weimer Date: Wed Jul 8 14:19:58 2020 +0200 string: Fix prototype mismatch in sigabbrev_np, __sigdescr_np GCC 6 does not ignore the const specifier on the return type. Diff: --- string/sigabbrev_np.c | 2 +- string/sigdescr_np.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/string/sigabbrev_np.c b/string/sigabbrev_np.c index 3cbe14e769..a5ac6da053 100644 --- a/string/sigabbrev_np.c +++ b/string/sigabbrev_np.c @@ -20,7 +20,7 @@ #include #include -const char *const +const char * sigabbrev_np (int signum) { const char *abbrev = NULL; diff --git a/string/sigdescr_np.c b/string/sigdescr_np.c index 5bcf814c1d..bf2d462b9c 100644 --- a/string/sigdescr_np.c +++ b/string/sigdescr_np.c @@ -20,7 +20,7 @@ #include #include -const char *const +const char * __sigdescr_np (int signum) { const char *descr = NULL;