projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://svn.poeml.de/viewvc/ppc/src-unpacked/xscreensaver/xscreensaver-4.12.tar.bz2...
[xscreensaver]
/
hacks
/
xsublim.c
diff --git
a/hacks/xsublim.c
b/hacks/xsublim.c
index 3ebf585e640cc77e3a1390087ef974aebf4f2321..045f2d9ffd6f8617e687a85fec2fc0657fc0e41b 100644
(file)
--- a/
hacks/xsublim.c
+++ b/
hacks/xsublim.c
@@
-114,6
+114,13
@@
char* progname;
XtAppContext app;
XrmDatabase db;
char* progclass = XSUBLIM_NAME;
XtAppContext app;
XrmDatabase db;
char* progclass = XSUBLIM_NAME;
+
+# ifdef __GNUC__
+ __extension__ /* don't warn about "string length is greater than the
+ length ISO C89 compilers are required to support"
+ in the following string constant... */
+# endif
+
char* defaults[] =
{
".background: #000000",
char* defaults[] =
{
".background: #000000",
@@
-238,7
+245,7
@@
static int xsublim_Ss_Handler(Display* handle_Display,
}
if (Xsublim_Ss_Handler == NULL)
{
}
if (Xsublim_Ss_Handler == NULL)
{
- fprintf(stderr,"%
x
: ",progname);
+ fprintf(stderr,"%
s
: ",progname);
abort();
}
return (*Xsublim_Ss_Handler)(handle_Display,handle_Error);
abort();
}
return (*Xsublim_Ss_Handler)(handle_Display,handle_Error);
@@
-250,7
+257,7
@@
static Window xsublim_Ss_GetWindow(Display* ss_Display)
Window win_Parent;
Window* win_Child;
Window win_Win;
Window win_Parent;
Window* win_Child;
Window win_Win;
-
int
child_Count;
+
unsigned int
child_Count;
int child_Index;
Atom prop_Type;
int prop_Format;
int child_Index;
Atom prop_Type;
int prop_Format;
@@
-368,7
+375,9
@@
int main(int argc,char* argv[])
SIGQUIT,
SIGILL,
SIGTRAP,
SIGQUIT,
SIGILL,
SIGTRAP,
+#if defined(SIGIOT)
SIGIOT,
SIGIOT,
+#endif
SIGABRT,
#if defined(SIGEMT)
SIGEMT,
SIGABRT,
#if defined(SIGEMT)
SIGEMT,