diff options
author | Vojtech Kral <vojtech@kral.hk> | 2018-04-19 19:29:19 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2018-04-19 19:29:19 +0300 |
commit | d671e06c32c53a2e38d5dc34c1fdbee49ecbc1b8 (patch) | |
tree | ba65635d733ecc87acfbf2cb17582b79cef28ee6 /xs/src/semver/semver.c | |
parent | bdaf1b01bedea5cac8b0d3d15dd48f87f531651c (diff) |
Fix alpha legacy dir detection, Fix SemVer value ctor
Diffstat (limited to 'xs/src/semver/semver.c')
-rw-r--r-- | xs/src/semver/semver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/semver/semver.c b/xs/src/semver/semver.c index a19354403..527738644 100644 --- a/xs/src/semver/semver.c +++ b/xs/src/semver/semver.c @@ -620,7 +620,7 @@ semver_numeric (semver_t *x) { return num; } -static char *semver_strdup(const char *src) { +char *semver_strdup(const char *src) { if (src == NULL) return NULL; size_t len = strlen(src) + 1; char *res = malloc(len); |