summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-bc
blob: cde673425728e9c9e6af3a50aadefb08a0fd8cfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-bc,v 1.3 2012/11/16 00:29:39 joerg Exp $

--- lib/libxview/frame/fm_impl.h.orig	1993-06-29 05:16:15.000000000 +0000
+++ lib/libxview/frame/fm_impl.h
@@ -17,11 +17,16 @@ static char     sccsid[] = "@(#)fm_impl.
 #define _frame_impl_h_already_included
 
 /* standard includes */
+#ifdef NULL
+#undef NULL
+#endif
 #ifndef FILE
 #ifndef SVR4
-#undef NULL
 #endif SVR4
 #include <stdio.h>
+#ifndef NULL
+#define NULL 0
+#endif
 #endif FILE
 #include <sys/time.h>
 #ifdef OW_I18N
@@ -248,7 +253,7 @@ Pkg_private void	frame_display_footer();
 #ifdef OW_I18N
 Pkg_private void	frame_display_IMstatus();
 #endif
-Pkg_private int		frame_set_color();
+Pkg_private void	frame_set_color();
 
 /* fm_geom.c */
 Pkg_private int		frame_height_from_lines();