summaryrefslogtreecommitdiffstats
path: root/sysutils/44bsd-more/files/patch-main.c
blob: 00662f7f75d1db558288572e37dd0ccd5107f473 (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
--- ./main.c.orig	2007-06-22 14:48:44.602177005 +0800
+++ ./main.c	2007-06-22 14:48:44.620758150 +0800
@@ -33,9 +33,9 @@
  */
 
 #ifndef lint
-char copyright[] =
+char copyright[] = \
 "@(#) Copyright (c) 1988 Mark Nudleman.\n\
-@(#) Copyright (c) 1988, 1993
+@(#) Copyright (c) 1988, 1993\
 	Regents of the University of California.  All rights reserved.\n";
 #endif /* not lint */
 
@@ -68,6 +68,8 @@
 #include "less.h"
 #include "pathnames.h"
 
+static int str_read(void *, char *, size_t);
+
 int	ispipe;
 char	*current_file, *previous_file, *current_name, *next_name;
 int	any_display;
@@ -410,7 +412,6 @@
 	char *c;
 	int readrc();
 	int savederrno;
-	static int str_read();
 
 	/* The default builtin rc file */
 	if ((c = getenv("HOME")) &&
OpenPOWER on IntegriCloud