]> granicus.if.org Git - sudo/commitdiff
No need to use __signed.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 17 Dec 2013 23:08:18 +0000 (16:08 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 17 Dec 2013 23:08:18 +0000 (16:08 -0700)
config.h.in
configure
configure.ac
plugins/sudoers/parse.h

index 87b2c6122eba30c068de67300a366ca97372ad9d..a1d7bdb33e76194170670307b50cab87c33c5c14 100644 (file)
    __func__ */
 #undef __func__
 
-/* Define to `signed' or nothing if compiler does not support a signed type
-   qualifier. */
-#undef __signed
-
 /* Define to empty if `const' does not conform to ANSI C. */
 #undef const
 
index 92a80df4b477d86f15bbf5a7535d2828592724d9..11183931daa1e3834d625a4c4af72d585f97e0a9 100755 (executable)
--- a/configure
+++ b/configure
@@ -16115,21 +16115,6 @@ $as_echo "#define gid_t int" >>confdefs.h
 
 fi
 
-ac_fn_c_check_type "$LINENO" "__signed char" "ac_cv_type___signed_char" "$ac_includes_default"
-if test "x$ac_cv_type___signed_char" = xyes; then :
-
-else
-  ac_fn_c_check_type "$LINENO" "signed char" "ac_cv_type_signed_char" "$ac_includes_default"
-if test "x$ac_cv_type_signed_char" = xyes; then :
-  $as_echo "#define __signed signed" >>confdefs.h
-
-else
-  $as_echo "#define __signed /**/" >>confdefs.h
-
-fi
-
-fi
-
 ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <sys/types.h>
 #include <signal.h>
 "
@@ -24428,6 +24413,5 @@ fi
 
 
 
-
 
 
index 086cb61a34975f03b8ed7e5e0288ba3e07455320..22d70a647cef36a2774dfe26aa1af7843366d7ad 100644 (file)
@@ -2182,7 +2182,6 @@ dnl
 SUDO_APPEND_CPPFLAGS(-D__STDC_WANT_LIB_EXT1__=1)
 AC_TYPE_MODE_T
 AC_TYPE_UID_T
-AC_CHECK_TYPE([__signed char], [], [AC_CHECK_TYPE([signed char], [AC_DEFINE(__signed, signed)], [AC_DEFINE(__signed, [])])])
 AC_CHECK_TYPE([sig_atomic_t], [], [AC_DEFINE(sig_atomic_t, int)], [#include <sys/types.h>
 #include <signal.h>])
 AC_CHECK_TYPES([sigaction_t], [], [], [#include <sys/types.h>
@@ -3842,7 +3841,6 @@ AH_TEMPLATE(USE_INSULTS, [Define to 1 if you want to insult the user for enterin
 AH_TEMPLATE(USE_STOW, [Define to 1 if you use GNU stow packaging.])
 AH_TEMPLATE(WITHOUT_PASSWD, [Define to avoid using the passwd/shadow file for authentication.])
 AH_TEMPLATE(sig_atomic_t, [Define to `int' if <signal.h> does not define.])
-AH_TEMPLATE(__signed, [Define to `signed' or nothing if compiler does not support a signed type qualifier.])
 AH_TEMPLATE(socklen_t, [Define to `unsigned int' if <sys/socket.h> doesn't define.])
 AH_TEMPLATE(HAVE_STRUCT_UTMP_UT_EXIT, [Define to 1 if `ut_exit' is a member of `struct utmp'.])
 AH_TEMPLATE(HAVE_STRUCT_UTMPX_UT_EXIT, [Define to 1 if `ut_exit' is a member of `struct utmpx'.])
index bcdc9503b892b617dcadb9c499c8340a7c1f73f5..9af302b00a9a6893f1bd008250e881eb91b40675 100644 (file)
@@ -53,11 +53,11 @@ struct sudo_command {
  * Possible values: true, false, IMPLIED, UNSPEC.
  */
 struct cmndtag {
-    __signed int nopasswd: 3;
-    __signed int noexec: 3;
-    __signed int setenv: 3;
-    __signed int log_input: 3;
-    __signed int log_output: 3;
+    int nopasswd: 3;
+    int noexec: 3;
+    int setenv: 3;
+    int log_input: 3;
+    int log_output: 3;
 };
 
 /*