forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-text/pinfo: Fix compile failure with GCC 7 / -Os.
Package-Manager: Portage-2.3.41, Repoman-2.3.9
- Loading branch information
Jeroen Roovers
committed
Jul 7, 2018
1 parent
6fd6afb
commit 4a64671
Showing
2 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- a/src/initializelinks.c | ||
+++ b/src/initializelinks.c | ||
@@ -75,7 +75,7 @@ | ||
* checks if an item belongs to tag table. returns 1 on success and 0 on | ||
* failure. It should be optimised... | ||
*/ | ||
-inline int | ||
+int | ||
exists_in_tag_table(char *item) | ||
{ | ||
if (gettagtablepos(item) != -1) | ||
--- a/src/filehandling_functions.c | ||
+++ b/src/filehandling_functions.c | ||
@@ -554,7 +554,7 @@ | ||
return 1; | ||
} | ||
|
||
-inline void | ||
+void | ||
buildcommand(char *dest, char *command, char *filename, const char *tmpfilename) | ||
{ | ||
strcpy(dest, command); | ||
@@ -564,7 +564,7 @@ | ||
strcat(dest, tmpfilename); | ||
} | ||
|
||
-inline void | ||
+void | ||
builddircommand(char *dest, char *command, char *filename, const char *tmpfilename) | ||
{ | ||
strcpy(dest, command); | ||
--- a/src/utils.c | ||
+++ b/src/utils.c | ||
@@ -193,7 +193,7 @@ | ||
return value; | ||
} | ||
|
||
-inline void | ||
+void | ||
initlocale() | ||
{ | ||
#ifdef ___DEBUG___ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters