1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-06 13:54:23 +01:00
Files
gryf-overlay/media-plugins/xmms-kde/files/xmms-kde-3.1-gcc4.patch
2010-02-09 21:25:29 +01:00

55 lines
1.6 KiB
Diff

diff -urN ../tmp-orig/xmms-kde-3.1/xmms-kde/select.c ./xmms-kde/select.c
--- ../tmp-orig/xmms-kde-3.1/xmms-kde/select.c 2003-07-17 20:42:26.000000000 +0200
+++ ./xmms-kde/select.c 2005-03-31 20:25:33.000000000 +0200
@@ -724,6 +724,8 @@
return z;
}
+static int fillInColumnList(Parse*, Select*);
+
/*
** Given a SELECT statement, generate a Table structure that describes
** the result set of that SELECT.
@@ -732,7 +734,6 @@
Table *pTab;
int i;
ExprList *pEList;
- static int fillInColumnList(Parse*, Select*);
if( fillInColumnList(pParse, pSelect) ){
return 0;
@@ -1281,6 +1282,8 @@
return 0;
}
+static void changeTablesInList(ExprList*, int, int);
+
/*
** Recursively scan through an expression tree. For every reference
** to a column in table number iFrom, change that reference to the
@@ -1291,7 +1294,6 @@
if( pExpr->op==TK_COLUMN && pExpr->iTable==iFrom ){
pExpr->iTable = iTo;
}else{
- static void changeTablesInList(ExprList*, int, int);
changeTables(pExpr->pLeft, iFrom, iTo);
changeTables(pExpr->pRight, iFrom, iTo);
changeTablesInList(pExpr->pList, iFrom, iTo);
@@ -1306,6 +1308,8 @@
}
}
+static void substExprList(ExprList*,int,ExprList*,int);
+
/*
** Scan through the expression pExpr. Replace every reference to
** a column in table number iTable with a copy of the corresponding
@@ -1344,7 +1348,6 @@
changeTables(pExpr, iSub, iTable);
}
}else{
- static void substExprList(ExprList*,int,ExprList*,int);
substExpr(pExpr->pLeft, iTable, pEList, iSub);
substExpr(pExpr->pRight, iTable, pEList, iSub);
substExprList(pExpr->pList, iTable, pEList, iSub);