[mw-devel] MW3 r1130 - trunk/src
welshbyte at sucs.org
welshbyte at sucs.org
Fri Dec 11 22:54:24 GMT 2009
Author: welshbyte
Date: 2009-12-11 22:54:23 +0000 (Fri, 11 Dec 2009)
New Revision: 1130
Modified:
trunk/src/main.c
trunk/src/strings.c
trunk/src/vars.c
Log:
- Remove now-unused arg_range function
- Rearrange wctype.h includes after wchar.h to allow clang to build mw
Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c 2009-12-11 00:10:29 UTC (rev 1129)
+++ trunk/src/main.c 2009-12-11 22:54:23 UTC (rev 1130)
@@ -14,8 +14,8 @@
#include <arpa/telnet.h>
#include <stdarg.h>
#include <termcap.h>
+#include <wchar.h>
#include <wctype.h>
-#include <wchar.h>
#include "bb.h"
#include "Parse.h"
Modified: trunk/src/strings.c
===================================================================
--- trunk/src/strings.c 2009-12-11 00:10:29 UTC (rev 1129)
+++ trunk/src/strings.c 2009-12-11 22:54:23 UTC (rev 1130)
@@ -1,9 +1,9 @@
#include <stdio.h>
#include <fcntl.h>
#include <ctype.h>
-#include <wctype.h>
#include <string.h>
#include <wchar.h>
+#include <wctype.h>
#include <arpa/telnet.h>
#include <errno.h>
#include <stdarg.h>
Modified: trunk/src/vars.c
===================================================================
--- trunk/src/vars.c 2009-12-11 00:10:29 UTC (rev 1129)
+++ trunk/src/vars.c 2009-12-11 22:54:23 UTC (rev 1130)
@@ -26,11 +26,6 @@
op->key = strdup(op->key);
}
-void arg_range(var_list_t *list, int min, int max)
-{
- var_int_force(list, "#", max+1);
-}
-
int arg_count(var_list_t *list)
{
var_op_t op;
More information about the mw-devel
mailing list