Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dholland
committed
Dec 26, 2012
1 parent
4beba1b
commit ff694af
Showing
2 changed files
with
17 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
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,15 @@ | ||
$NetBSD: patch-bin_nf__common.c,v 1.1 2012/12/26 21:41:52 dholland Exp $ | ||
|
||
Fix gcc inline. | ||
|
||
--- bin/nf_common.c~ 2012-02-19 10:42:43.000000000 +0000 | ||
+++ bin/nf_common.c | ||
@@ -1440,7 +1440,7 @@ int i, remaining; | ||
|
||
} // End of ParseOutputFormat | ||
|
||
-#ifdef __SUNPRO_C | ||
+#if !defined(__GNUC__) || !defined(__GNUC_STDC_INLINE__) | ||
extern | ||
#endif | ||
inline void format_number(uint64_t num, char *s, int fixed_width) { |