Commit 4b8b3158 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Solaris specific fixes.

parent 09be9d0d
......@@ -75,7 +75,7 @@ static void test_id(int id);
static int check_languages(node_t *head);
static lan_blk_t *block_messages(node_t *head);
static void add_cpxlat(int lan, int cpin, int cpout);
cp_xlat_t *find_cpxlat(int lan);
static cp_xlat_t *find_cpxlat(int lan);
%}
......@@ -650,9 +650,12 @@ static void add_cpxlat(int lan, int cpin, int cpout)
qsort(cpxlattab, ncpxlattab, sizeof(*cpxlattab), sc_xlat);
}
cp_xlat_t *find_cpxlat(int lan)
static cp_xlat_t *find_cpxlat(int lan)
{
cp_xlat_t t;
if(!cpxlattab) return NULL;
t.lan = lan;
return (cp_xlat_t *)bsearch(&t, cpxlattab, ncpxlattab, sizeof(*cpxlattab), sc_xlat);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment