diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-28 14:21:57 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-28 14:21:57 +0000 |
commit | ef0f2ae88ceef043eff03d0b4560f76df607eac7 (patch) | |
tree | 3ec3ca149870f7304c6aed438867b552ed917141 /gmid.c | |
parent | 8904fa0e64ec12b5ca6f07f39c2d990bc557d701 (diff) |
remove unused function
Diffstat (limited to 'gmid.c')
-rw-r--r-- | gmid.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -169,21 +169,6 @@ sig_handler(int sig) (void)sig; } -char * -absolutify_path(const char *path) -{ - char *wd, *r; - - if (*path == '/') - return strdup(path); - - wd = getcwd(NULL, 0); - if (asprintf(&r, "%s/%s", wd, path) == -1) - fatal("asprintf: %s", strerror(errno)); - free(wd); - return r; -} - void gen_certificate(const char *host, const char *certpath, const char *keypath) { |