Use NAME_MAX when available. Don't try to fake a FILE on DragonFly. The implementation of textsw_scanf can be improved, it is very defensively and slow ATM, the snprintf usage should be portable. Fix a number of prototype mismatches, e.g. variable argument functions can conflict with K&R prototypes. Bump revision since the package "compiled" before, e.g. build errors where ignored.
12 lines
382 B
Text
12 lines
382 B
Text
$NetBSD: patch-eh,v 1.1 2006/01/05 18:25:57 joerg Exp $
|
|
|
|
--- lib/libxview/textsw/txt_event.c.orig 2006-01-04 11:15:27.000000000 +0000
|
|
+++ lib/libxview/textsw/txt_event.c
|
|
@@ -22,7 +22,6 @@ static char sccsid[] = "@(#)txt_even
|
|
#include <xview_private/win_keymap.h>
|
|
|
|
|
|
-extern int errno;
|
|
Pkg_private Notify_error win_post_event();
|
|
Pkg_private void ev_blink_caret();
|
|
|