style: make conversion of version string to int public
commitd8b49e2b7360aa805297e110e9adb4c0b7f2f956
authorAkim Demaille <akim.demaille@gmail.com>
Wed, 11 Nov 2020 07:19:31 +0000 (11 08:19 +0100)
committerAkim Demaille <akim.demaille@gmail.com>
Wed, 11 Nov 2020 07:47:23 +0000 (11 08:47 +0100)
tree7c8bcd712adadbf7ca3040ced07eb8d165929c8c
parent14c65a35f085acf2ae62bec29208f8de33aad66d
style: make conversion of version string to int public

* src/parse-gram.y (str_to_version): Rename as/move to...
* src/strversion.h, src/strversion.c (strversion_to_int): these new
files.
src/local.mk
src/parse-gram.y
src/strversion.c [new file with mode: 0644]
src/strversion.h [new file with mode: 0644]