aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xfree86/sdksyms.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xfree86/sdksyms.sh')
-rw-r--r--xorg-server/hw/xfree86/sdksyms.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/xorg-server/hw/xfree86/sdksyms.sh b/xorg-server/hw/xfree86/sdksyms.sh
index 9034f3829..40ea7c8da 100644
--- a/xorg-server/hw/xfree86/sdksyms.sh
+++ b/xorg-server/hw/xfree86/sdksyms.sh
@@ -364,7 +364,7 @@ BEGIN {
# skip attribute, if any
while ($n ~ /^(__attribute__|__global)/ ||
# skip modifiers, if any
- $n ~ /^\*?(unsigned|const|volatile|struct)$/ ||
+ $n ~ /^\*?(unsigned|const|volatile|struct|_X_EXPORT)$/ ||
# skip pointer
$n ~ /^[a-zA-Z0-9_]*\*$/)
n++;
@@ -395,6 +395,9 @@ BEGIN {
if ($n == "" || $n ~ /^\*+$/) {
getline;
n = 1;
+ # indent may have inserted a blank link
+ if ($0 == "")
+ getline;
}
# dont modify $0 or $n