git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6c21f4
)
s3-smb: Remove the obsolete signal type cast.
author
Andreas Schneider
<asn@redhat.com>
Fri, 19 Feb 2010 14:33:40 +0000
(15:33 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 23 Feb 2010 11:23:43 +0000
(12:23 +0100)
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal
handlers to return void, only K&R returned int.
source3/include/smb.h
patch
|
blob
|
history
diff --git
a/source3/include/smb.h
b/source3/include/smb.h
index 041c96badad0c96a1ff70d8f795b7ed4072f1d52..de998cbe0a77b9bea2a913cdba76573566211efe 100644
(file)
--- a/
source3/include/smb.h
+++ b/
source3/include/smb.h
@@
-1469,10
+1469,6
@@
extern int dcelogin_atmost_once;
char *strdup(char *s);
#endif
-#ifndef SIGNAL_CAST
-#define SIGNAL_CAST (RETSIGTYPE (*)(int))
-#endif
-
#ifndef SELECT_CAST
#define SELECT_CAST
#endif