Skip to content

Commit

Permalink
bee_version_compare: Make compare_version_strings static
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Jul 8, 2022
1 parent 3da509e commit c9df684
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/bee_version_compare.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
// '2.23.001' == '2.23.1'
// '2.23.1001' > '2.23.101'

int compare_version_strings(char *a, char *b) {
static int compare_version_strings(char *a, char *b) {
while (1) {

if (isdigit(*a) && isdigit (*b)) {
Expand Down
1 change: 0 additions & 1 deletion src/bee_version_compare.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

#include "bee_version.h"

int compare_version_strings(char *v1, char *v2);
int compare_beepackage_names(struct beeversion *v1, struct beeversion *v2);
int compare_beeversions(struct beeversion *v1, struct beeversion *v2);
int compare_beepackages(struct beeversion *v1, struct beeversion *v2);

0 comments on commit c9df684

Please sign in to comment.