From: Trevor Woerner <[email protected]>

Fix build to work on Solaris 10, which doesn't understand the
'local' keyword.

Signed-off-by: Trevor Woerner <[email protected]>
---
 build.sh |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/build.sh b/build.sh
index 69aef7f..f7b9517 100755
--- a/build.sh
+++ b/build.sh
@@ -259,8 +259,7 @@ clone() {
 #   0 - good
 #   1 - bad
 process() {
-    local rtn
-    local needs_config=0
+    needs_config=0
 
     # preconds
     if [ X"$1" = X ]; then
@@ -912,10 +911,6 @@ build_doc() {
 #   0 - good
 #   1 - bad
 process_module_file() {
-    local line
-    local module
-    local component
-
     # preconds
     if [ X"$MODFILE" = X ]; then
        echo "internal process_module_file() error, \$MODFILE is empty"
-- 
1.7.3.2.164.g6f10c

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to