ver1 32 core/versions.c int cmp_chdk_version(_chdk_version_t ver1, _chdk_version_t ver2) ver1 34 core/versions.c if (ver1.major < ver2.major) return -1; ver1 35 core/versions.c if (ver1.major > ver2.major) return 1; ver1 36 core/versions.c if (ver1.minor < ver2.minor) return -1; ver1 37 core/versions.c if (ver1.minor > ver2.minor) return 1; ver1 38 core/versions.c if (ver1.maintenance < ver2.maintenance) return -1; ver1 39 core/versions.c if (ver1.maintenance > ver2.maintenance) return 1; ver1 40 core/versions.c if (ver1.revision < ver2.revision) return -1; ver1 41 core/versions.c if (ver1.revision > ver2.revision) return 1; ver1 30 include/versions.h extern int cmp_chdk_version(_chdk_version_t ver1, _chdk_version_t ver2);