summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2005-12-21 00:17:54 +0000
committerTim Yamin <plasmaroo@gentoo.org>2005-12-21 00:17:54 +0000
commitb4a093eb2cd984b5c3de08860fd73bc694663b7b (patch)
tree88bb9c13d60bcd275fc5afbf0a1e0d4aa153f2e0 /eclass/kernel-2.eclass
parentAdd check if libgd is built with png support for bug 115706. (diff)
downloadhistorical-b4a093eb2cd984b5c3de08860fd73bc694663b7b.tar.gz
historical-b4a093eb2cd984b5c3de08860fd73bc694663b7b.tar.bz2
historical-b4a093eb2cd984b5c3de08860fd73bc694663b7b.zip
Add "inline" -> "__inline__" conversion in headers___fix to satisfy ANSI compliance.
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 51c1956517f3..87ec7afe2802 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.153 2005/11/18 03:58:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.154 2005/12/21 00:17:54 plasmaroo Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -937,6 +937,7 @@ headers___fix() {
-e 's/ \(u\|s\)\(8\|16\|32\|64\)$/ __\1\2/g' \
-e 's/\([(, ]\)\(u\|s\)64\([, )]\)/\1__\264\3/g' \
-e "s/^\(u\|s\)\(8\|16\|32\|64\)\([ "$'\t'"]\)/__\1\2\3/g;" \
+ -e "s/ inline / __inline__ /g" \
"$@"
}