aboutsummaryrefslogtreecommitdiffstats
path: root/ext/digest/sha2/sha2.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-04-13 16:29:15 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-09-09 16:32:29 +0900
commit5a21e04dcb627667ff581d13e443249fa8d102b1 (patch)
tree67679558df639ba1fb89e9caac94ac030b917f47 /ext/digest/sha2/sha2.h
parent440876c629651d32c12551abb0f157aebe996546 (diff)
downloadruby-5a21e04dcb627667ff581d13e443249fa8d102b1.tar.gz
configure.in: don't check for support for ANSI prototype decl
Our minimum is already C89.
Diffstat (limited to 'ext/digest/sha2/sha2.h')
-rw-r--r--ext/digest/sha2/sha2.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/digest/sha2/sha2.h b/ext/digest/sha2/sha2.h
index e58f15ae12..9dbda9c6fd 100644
--- a/ext/digest/sha2/sha2.h
+++ b/ext/digest/sha2/sha2.h
@@ -50,11 +50,7 @@ extern "C" {
#include <sys/types.h>
#ifdef RUBY
-# ifdef HAVE_PROTOTYPES
-# undef NOPROTO
-# else
-# define NOPROTO
-# endif /* HAVE_PROTOTYPES */
+# undef NOPROTO
# ifndef BYTE_ORDER
# define LITTLE_ENDIAN 1234
# define BIG_ENDIAN 4321