- Timestamp:
- Apr 24, 2006, 10:56:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/common.h
r861 r863 18 18 */ 19 19 20 #if !defined(HAVE_INTTYPES_H) 20 #if defined(HAVE_INTTYPES_H) 21 # include <inttypes.h> 22 #else 21 23 typedef signed char int8_t; 22 24 typedef signed short int16_t; … … 35 37 # include <endian.h> 36 38 # endif 37 static externinline uint16_t htons(uint16_t x)39 static inline uint16_t htons(uint16_t x) 38 40 { 39 41 #if defined(HAVE_ENDIAN_H) … … 49 51 } 50 52 51 static externinline uint32_t htonl(uint32_t x)53 static inline uint32_t htonl(uint32_t x) 52 54 { 53 55 #if defined(HAVE_ENDIAN_H)
Note: See TracChangeset
for help on using the changeset viewer.