s3-smb: Remove the obsolete signal type cast.
authorAndreas Schneider <asn@redhat.com>
Fri, 19 Feb 2010 14:33:40 +0000 (15:33 +0100)
committerStefan 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

index 041c96badad0c96a1ff70d8f795b7ed4072f1d52..de998cbe0a77b9bea2a913cdba76573566211efe 100644 (file)
@@ -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