Fix build on CURRENT

This commit is contained in:
Tilman Keskinoz 2003-07-20 13:34:52 +00:00
parent 094ea0eb06
commit 1427083f4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85239
4 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,22 @@
--- source/irchandler.c.orig Sun Jul 20 15:08:00 2003
+++ source/irchandler.c Sun Jul 20 15:09:35 2003
@@ -169,12 +169,6 @@
break;
case 333: /* topic time */
break;
-#if 0
-ùíù Numbered server stuff: "352 pana #opennap toasty bender.thirty4.com
- irc.lightning.net Toasty_ H@ :2 Chad Boyda" (irc.core.com)
- ùíù Numbered server stuff: "315 pana #opennap :End of /WHO list."
- (irc.core.com)
-#endif
case 315:
break;
case 352:
@@ -943,4 +937,4 @@
}
from_server = ofs;
}
-
\ No newline at end of file
+

View File

@ -0,0 +1,11 @@
--- source/status.c.orig Sun Jul 20 14:33:43 2003
+++ source/status.c Sun Jul 20 15:01:05 2003
@@ -38,7 +38,7 @@
* Maximum number of "%" expressions in a status line format. If you change
* this number, you must manually change the sprintf() in make_status
*/
-#define STATUS_FUNCTION(x) static Char * ## x (Window *window, int map, int key)
+#define STATUS_FUNCTION(x) static Char * x (Window *window, int map, int key)
#define MAX_FUNCTIONS 40
#define MAX_STATUS_USER 19

View File

@ -0,0 +1,22 @@
--- source/irchandler.c.orig Sun Jul 20 15:08:00 2003
+++ source/irchandler.c Sun Jul 20 15:09:35 2003
@@ -169,12 +169,6 @@
break;
case 333: /* topic time */
break;
-#if 0
-ùíù Numbered server stuff: "352 pana #opennap toasty bender.thirty4.com
- irc.lightning.net Toasty_ H@ :2 Chad Boyda" (irc.core.com)
- ùíù Numbered server stuff: "315 pana #opennap :End of /WHO list."
- (irc.core.com)
-#endif
case 315:
break;
case 352:
@@ -943,4 +937,4 @@
}
from_server = ofs;
}
-
\ No newline at end of file
+

View File

@ -0,0 +1,11 @@
--- source/status.c.orig Sun Jul 20 14:33:43 2003
+++ source/status.c Sun Jul 20 15:01:05 2003
@@ -38,7 +38,7 @@
* Maximum number of "%" expressions in a status line format. If you change
* this number, you must manually change the sprintf() in make_status
*/
-#define STATUS_FUNCTION(x) static Char * ## x (Window *window, int map, int key)
+#define STATUS_FUNCTION(x) static Char * x (Window *window, int map, int key)
#define MAX_FUNCTIONS 40
#define MAX_STATUS_USER 19