ANSI-fication and Py_PROTO extermination.
diff --git a/Include/bitset.h b/Include/bitset.h
index a6905b2..e3ef1a1 100644
--- a/Include/bitset.h
+++ b/Include/bitset.h
@@ -1,9 +1,3 @@
-#ifndef Py_BITSET_H
-#define Py_BITSET_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/***********************************************************
Copyright (c) 2000, BeOpen.com.
Copyright (c) 1995-2000, Corporation for National Research Initiatives.
@@ -14,18 +8,24 @@
redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
******************************************************************/
+#ifndef Py_BITSET_H
+#define Py_BITSET_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Bitset interface */
#define BYTE char
typedef BYTE *bitset;
-bitset newbitset Py_PROTO((int nbits));
-void delbitset Py_PROTO((bitset bs));
+bitset newbitset(int nbits);
+void delbitset(bitset bs);
#define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0)
-int addbit Py_PROTO((bitset bs, int ibit)); /* Returns 0 if already set */
-int samebitset Py_PROTO((bitset bs1, bitset bs2, int nbits));
-void mergebitset Py_PROTO((bitset bs1, bitset bs2, int nbits));
+int addbit(bitset bs, int ibit); /* Returns 0 if already set */
+int samebitset(bitset bs1, bitset bs2, int nbits);
+void mergebitset(bitset bs1, bitset bs2, int nbits);
#define BITSPERBYTE (8*sizeof(BYTE))
#define NBYTES(nbits) (((nbits) + BITSPERBYTE - 1) / BITSPERBYTE)