pkg_get_myarch_with_legacy: simplify signature
modified libpkg/pkg_abi.c
@@ -2,7 +2,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -12,7 +12,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -85,7 +85,7 @@ static struct arch_trans machine_arch_translation[] = {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -93,14 +93,8 @@ pkg_get_myarch_fromfile(char *dest, size_t sz, struct os_info *oi)
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -131,53 +125,46 @@ pkg_get_myarch_fromfile(char *dest, size_t sz, struct os_info *oi)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -189,7 +176,7 @@ pkg_get_myarch_with_legacy(char *dest, char* dest_legacy, size_t sz, struct os_i
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -324,4 +311,4 @@ cleanup:
|
|
|
|
|
|
| - | |
|
|
| + | |
modified libpkg/pkg_config.c
@@ -1110,7 +1110,7 @@ pkg_ini(const char *path, const char *reposdir, pkg_init_flags flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -643,7 +643,7 @@ struct os_info {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|