]> pd.if.org Git - zpackage/blobdiff - lib/jsw/jsw_hlib.h
remove c++isms from jsw code
[zpackage] / lib / jsw / jsw_hlib.h
index 78cbdd79c2a6f3c4e10b723c1d474d43960f14ec..e64476b880ed3b4b1d4a4ed1d8785724a178fa7f 100644 (file)
   anyone who has modified the code through
   a header comment, such as this one.
 */
-#ifdef __cplusplus
-#include <cstddef>
-
-using std::size_t;
-
-extern "C" {
-#else
 #include <stddef.h>
-#endif
 
 typedef struct jsw_hash jsw_hash_t;
 
@@ -117,8 +109,4 @@ size_t       jsw_hcapacity ( jsw_hash_t *htab );
 /* Get statistics for the hash table */
 jsw_hstat_t *jsw_hstat ( jsw_hash_t *htab );
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif