Fix build under -STABLE.

This commit is contained in:
Adam Weinberger 2003-09-30 01:12:20 +00:00
parent 6382f7a641
commit d37007b929
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89862
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,16 @@
--- gok/gok-scanner.c.orig Mon Sep 29 21:04:52 2003
+++ gok/gok-scanner.c Mon Sep 29 21:05:05 2003
@@ -220,10 +220,11 @@
xmlNode *retval = NULL;
int target_lang_len = strlen ((char *)target_lang);
gboolean lang_is_matched = FALSE;
+ gboolean is_lang_match, is_perfect_match;
gok_log_enter();
- gboolean is_lang_match = FALSE;
- gboolean is_perfect_match = FALSE;
+ is_lang_match = FALSE;
+ is_perfect_match = FALSE;
/* loop through the document looking for the name string */
while (pNode != NULL)
{

View File

@ -0,0 +1,16 @@
--- gok/gok-scanner.c.orig Mon Sep 29 21:04:52 2003
+++ gok/gok-scanner.c Mon Sep 29 21:05:05 2003
@@ -220,10 +220,11 @@
xmlNode *retval = NULL;
int target_lang_len = strlen ((char *)target_lang);
gboolean lang_is_matched = FALSE;
+ gboolean is_lang_match, is_perfect_match;
gok_log_enter();
- gboolean is_lang_match = FALSE;
- gboolean is_perfect_match = FALSE;
+ is_lang_match = FALSE;
+ is_perfect_match = FALSE;
/* loop through the document looking for the name string */
while (pNode != NULL)
{