1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Fix build with gcc4

This commit is contained in:
Tilman Keskinoz 2007-05-30 16:50:00 +00:00
parent 5380990b0f
commit 1d3ed345b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192404

View File

@ -0,0 +1,16 @@
--- widget.c.orig Wed May 30 16:24:53 2007
+++ widget.c Wed May 30 16:28:12 2007
@@ -124,11 +124,11 @@
extern Pixmap acts_pm;
void (*notify_func)();
+Pixmap get_pixmap(char *bits, int width, int height, boolean inv);
+
void init_widgets(notify)
void (*notify)();
{
- extern Pixmap get_pixmap();
-
numb = nums = numc = numm = cur_type = cur_num = 0;
key_active = cur_but = -1;
scan_flag = FALSE;