1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef _CMP_VERSION_H_ #define _CMP_VERSION_H_ #ifdef __cplusplus extern "C" { #endif extern int cmp_version( const char *s1, const char *s2 ); extern const char *max_version( const char *s1, const char *s2 ); #ifdef __cplusplus } /* ... extern "C" */ #endif #endif /* _CMP_VERSION_H_ */