fix build errors

This commit is contained in:
mrg 2003-04-14 03:02:28 +00:00
parent 1492c6b657
commit 0634cd7fff
4 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: linenum.c,v 1.6 2003/04/14 02:56:47 mrg Exp $ */
/* $NetBSD: linenum.c,v 1.7 2003/04/14 03:02:28 mrg Exp $ */
/*
* Copyright (C) 1984-2002 Mark Nudelman
@ -73,7 +73,7 @@ extern int linenums;
extern int sigs;
extern int sc_height;
static void calcgap __P((struct linenum *));
static void calcgap __P((struct linenum_info *));
static void longloopmessage __P((void));
static void longish __P((void));

View File

@ -1,4 +1,4 @@
/* $NetBSD: opttbl.c,v 1.9 2003/04/14 02:56:47 mrg Exp $ */
/* $NetBSD: opttbl.c,v 1.10 2003/04/14 03:02:29 mrg Exp $ */
/*
* Copyright (C) 1984-2002 Mark Nudelman
@ -509,7 +509,6 @@ findopt_name(p_optname, p_oname, p_err)
int maxlen = 0;
int ambig = 0;
int exact = 0;
char *eq;
/*
* Check all options.

View File

@ -1,4 +1,4 @@
/* $NetBSD: search.c,v 1.7 2003/04/14 02:56:48 mrg Exp $ */
/* $NetBSD: search.c,v 1.8 2003/04/14 03:02:29 mrg Exp $ */
/*
* Copyright (C) 1984-2002 Mark Nudelman
@ -54,8 +54,8 @@ static void uncompile_pattern __P((void));
static int match_pattern __P((char *, char **, char **, int));
struct hilite;
static void add_hilite __P((struct hilite *, struct hilite *));
static void adj_hilite __P((struct hilite *, POSITION));
static void hilite_line __P((POSITION, char *, char *, char *));
static void adj_hilite __P((struct hilite *, POSITION, int));
static void hilite_line __P((POSITION, char *, char *, char *, int));
static void hilite_screen __P((void));
static POSITION search_pos __P((int));
static int search_range __P((POSITION, POSITION, int, int, int, POSITION *, POSITION *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: lesskey.c,v 1.7 2003/04/14 02:56:49 mrg Exp $ */
/* $NetBSD: lesskey.c,v 1.8 2003/04/14 03:02:29 mrg Exp $ */
/*
* Copyright (C) 1984-2002 Mark Nudelman
@ -422,7 +422,7 @@ tstr(pp, xlate)
case 'e': ch = SK_END; break;
case 'x': ch = SK_DELETE; break;
default:
error("illegal char after \\k");
terror("illegal char after \\k");
*pp = p+1;
return ("");
}