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