OSDN Git Service

dalvik: return positive hash code in Dalvik with Houdini
[android-x86/dalvik.git] / libdex / Leb128.h
index 3287c16..21f4eda 100644 (file)
  * Functions for interpreting LEB128 (little endian base 128) values
  */
 
-#ifndef _LIBDEX_LEB128
-#define _LIBDEX_LEB128
+#ifndef LIBDEX_LEB128_H_
+#define LIBDEX_LEB128_H_
 
 #include "DexFile.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /*
  * Reads an unsigned LEB128 value, updating the given pointer to point
  * just past the end of the read value. This function tolerates
@@ -165,8 +161,4 @@ DEX_INLINE int unsignedLeb128Size(u4 data)
     return count;
 }
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif