Merge branch 'master' into autotools-conversion
This commit is contained in:
@@ -72,10 +72,6 @@
|
||||
|
||||
static Bool lookForButton(Display *, XEvent *, XPointer);
|
||||
|
||||
#if !defined(__linux__) && !defined(CSRG_BASED)
|
||||
extern char *sys_errlist[];
|
||||
#endif
|
||||
|
||||
extern int drag_load_proc(char*, Calendar *);
|
||||
static char dnd_filename[20];
|
||||
|
||||
|
||||
@@ -306,10 +306,7 @@ syserr(char *msg, int a1, int a2, int a3)
|
||||
#if 0
|
||||
/* print the error, if any */
|
||||
if (saveerr != 0) {
|
||||
if (saveerr < 0 || saveerr > sys_nerr)
|
||||
(void) fprintf(stderr, ":Unknown error %d", saveerr);
|
||||
else
|
||||
(void) fprintf(stderr, ":%s", sys_errlist[saveerr]);
|
||||
(void) fprintf(stderr, ":%s", strerror(saveerr));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user