cleanup: replace memset with some inline declaration
modified libpkg/dns_utils.c
@@ -276,16 +276,14 @@ set_nameserver(const char *nsname) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
modified libpkg/fetch_ssh.c
@@ -57,13 +57,12 @@ tcp_connect(struct pkg_repo *repo, struct url *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -328,13 +327,11 @@ static int
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -512,7 +512,7 @@ static void pkg_repo_free(struct pkg_repo *r);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -537,7 +537,6 @@ connect_evpipe(const char *evpipe) {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1001,7 +1000,7 @@ pkg_ini(const char *path, const char *reposdir, pkg_init_flags flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1013,7 +1012,6 @@ pkg_ini(const char *path, const char *reposdir, pkg_init_flags flags)
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/pkg_cudf.c
@@ -442,9 +442,7 @@ pkg_jobs_cudf_parse_output(struct pkg_jobs *j, FILE *f)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_elf.c
@@ -827,7 +827,7 @@ pkg_get_myarch_elfparse(char *dest, size_t sz, struct os_info *oi)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -837,10 +837,8 @@ pkg_get_myarch_elfparse(char *dest, size_t sz, struct os_info *oi)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
modified libpkg/pkg_repo_create.c
@@ -325,11 +325,10 @@ static void
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/scripts.c
@@ -265,13 +265,12 @@ cleanup:
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
modified src/utils.c
@@ -937,12 +937,11 @@ print_jobs_summary(struct pkg_jobs *jobs, const char *msg, ...)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|