changeset 17750:7355c636029c

error: drop spurious semicolon * lib/error.c (__error_at_line): Fix ';;'. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Thu, 04 Sep 2014 06:26:06 -0600
parents 228d489fadb5
children 9e8d98ca3311
files ChangeLog lib/error.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-09-04  Eric Blake  <eblake@redhat.com>
+
+	error: drop spurious semicolon
+	* lib/error.c (__error_at_line): Fix ';;'.
+
 2014-09-02  Paul Eggert  <eggert@cs.ucla.edu>
 
 	gnulib-common.m4: port to GCC 4.2.1 and Sun Studio 12 C++
--- a/lib/error.c
+++ b/lib/error.c
@@ -75,7 +75,7 @@
 extern void __error_at_line (int status, int errnum, const char *file_name,
                              unsigned int line_number, const char *message,
                              ...)
-     __attribute__ ((__format__ (__printf__, 5, 6)));;
+     __attribute__ ((__format__ (__printf__, 5, 6)));
 # define error __error
 # define error_at_line __error_at_line