HP C compiler + IBM C compiler do not like "static inline"
Karel Miko
7 years ago
70 | 70 | |
71 | 71 | #define SUPPLIED_PRIME 255 |
72 | 72 | |
73 | static LTC_INLINE void packet_store_header (unsigned char *dst, int section, int subsection) | |
73 | /* XXX: HP C compiler + IBM C compiler do not like "static inline" */ | |
74 | static void packet_store_header (unsigned char *dst, int section, int subsection) | |
74 | 75 | { |
75 | 76 | LTC_ARGCHKVD(dst != NULL); |
76 | 77 | |
84 | 85 | |
85 | 86 | } |
86 | 87 | |
87 | static LTC_INLINE int packet_valid_header (unsigned char *src, int section, int subsection) | |
88 | /* XXX: HP C compiler + IBM C compiler do not like "static inline" */ | |
89 | static int packet_valid_header (unsigned char *src, int section, int subsection) | |
88 | 90 | { |
89 | 91 | unsigned long ver; |
90 | 92 |