a2c55dd58b
- if we're going to supply the build makefile, it shouldn't require gmake. - don't install executable html or gif files - add patch comments - const correctness for string constants, as demanded by gcc 4.5 - avoid needing -lcompat - fix a y2038 issue PKGREVISION -> 2
45 lines
1.5 KiB
Text
45 lines
1.5 KiB
Text
$NetBSD: patch-masks_h,v 1.1 2011/12/20 16:18:16 dholland Exp $
|
|
|
|
- const correctness demanded by recent gcc
|
|
|
|
--- masks.h~ 1997-02-21 11:52:06.000000000 +0000
|
|
+++ masks.h
|
|
@@ -25,27 +25,27 @@ void frame (win *w,
|
|
int dx, int dy,
|
|
int color_1, int color_2);
|
|
|
|
-bool yes (win *w, char host [], char question []);
|
|
-bool yes (char host [], char question []);
|
|
-bool yes (char question []);
|
|
-void ack (char host [], char msg []);
|
|
-void ack (char message []);
|
|
+bool yes (win *w, const char host [], const char question []);
|
|
+bool yes (const char host [], const char question []);
|
|
+bool yes (const char question []);
|
|
+void ack (const char host [], const char msg []);
|
|
+void ack (const char message []);
|
|
void tell (win *&w,
|
|
- char message []);
|
|
-void tell (char host [],
|
|
+ const char message []);
|
|
+void tell (const char host [],
|
|
win *&w,
|
|
- char message []);
|
|
-void tell (char host [],
|
|
+ const char message []);
|
|
+void tell (const char host [],
|
|
win *parent,
|
|
win *&w,
|
|
- char message []);
|
|
+ const char message []);
|
|
|
|
bool get_line (char s [],
|
|
char name [],
|
|
int dx = 300,
|
|
bool with_history = true);
|
|
|
|
-int select (char menu_string [], char *name = NULL);
|
|
+int select (const char menu_string [], char *name = NULL);
|
|
|
|
|
|
#endif
|