aboutsummaryrefslogtreecommitdiffstats
path: root/oldXMenu/Error.c
diff options
context:
space:
mode:
authorPaul Eggert2011-04-16 16:11:35 -0700
committerPaul Eggert2011-04-16 16:11:35 -0700
commitfd35b6f96777be3305879a9ca60ab5befb254042 (patch)
treedb72c649acdc7f53d9672fba88b6a08b3601cdda /oldXMenu/Error.c
parentc4354cb4f4a3982331180439120ca72734d49cc5 (diff)
parent399c71d323b8beef139437311c78440d0033c652 (diff)
downloademacs-fd35b6f96777be3305879a9ca60ab5befb254042.tar.gz
emacs-fd35b6f96777be3305879a9ca60ab5befb254042.zip
Static checks with GCC 4.6.0 and non-default toolkits.
Diffstat (limited to 'oldXMenu/Error.c')
-rw-r--r--oldXMenu/Error.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/oldXMenu/Error.c b/oldXMenu/Error.c
index 99f5eb6500d..01738458b6a 100644
--- a/oldXMenu/Error.c
+++ b/oldXMenu/Error.c
@@ -16,7 +16,7 @@
16 16
17#include "XMenuInt.h" 17#include "XMenuInt.h"
18 18
19char * 19char const *
20XMenuError(void) 20XMenuError(void)
21{ 21{
22 static char message[128]; /* Error message buffer. */ 22 static char message[128]; /* Error message buffer. */
@@ -27,4 +27,3 @@ XMenuError(void)
27 sprintf(message, "Unknown _XMErrorCode: %d", _XMErrorCode); 27 sprintf(message, "Unknown _XMErrorCode: %d", _XMErrorCode);
28 return(message); 28 return(message);
29} 29}
30