aboutsummaryrefslogtreecommitdiffstats
path: root/ext/digest/sha2/sha2.h
diff options
context:
space:
mode:
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