$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 +#ifndef NULL +#define NULL 0 +#endif #endif FILE #include #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();