[packages/xchat-gnome] - new function must be static due to -Wstrict-prototypes

baggins baggins at pld-linux.org
Mon Sep 15 21:39:59 CEST 2014


commit 12d6f9562528b8c0df968098ee65a962e1e9141e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Sep 15 21:39:35 2014 +0200

    - new function must be static due to -Wstrict-prototypes

 xchat-gnome-long-delimiter.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/xchat-gnome-long-delimiter.patch b/xchat-gnome-long-delimiter.patch
index 792ffa0..8499705 100644
--- a/xchat-gnome-long-delimiter.patch
+++ b/xchat-gnome-long-delimiter.patch
@@ -8,7 +8,7 @@ diff -urN xchat-gnome-0.24.0/src/fe-gnome/xtext.c xchat-gnome-0.24.0.new/src/fe-
 -#define is_del(c) \
 -	(c == ' ' || c == '\n' || c == ')' || c == '(' || \
 -	 c == '>' || c == '<' || c == ATTR_RESET || c == ATTR_BOLD || c == 0)
-+int is_del(const char *c) {
++static int is_del(const char *c) {
 +	int ret;
 +	ret = 0;
 +	ret = (c[0] == ' ' || c[0] == '\n' || c[0] == ')' || c[0] == '(' || 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xchat-gnome.git/commitdiff/0d7319261dfa04569fb61ad21d658ca34dce7243



More information about the pld-cvs-commit mailing list