Add missing Makefile entry. Rename pubkey file.

This commit is contained in:
Szczepan Zalega
2019-08-07 13:39:16 +02:00
parent 9248c6462c
commit 188a34d1da
3 changed files with 1 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#include "version.h"
// FIXME test version check function
bool is_newer(const version_t* const newer, const version_t* const older){
return (newer->major > older->major) ||
(newer->major == older->major && newer->minor > older->minor) ||
(newer->major == older->major && newer->minor == older->minor && newer->patch >= older->patch);
}