Another update from Larry:
[oweals/busybox.git] / tr.c
diff --git a/tr.c b/tr.c
index 32a4f2917406e396e3ca5a3d88e2354bd5b4c20a..ff0f331ffbb565260d96f1a2da7d8aaa37925436 100644 (file)
--- a/tr.c
+++ b/tr.c
@@ -30,9 +30,6 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include "busybox.h"
-#define BB_DECLARE_EXTERN
-#define bb_need_write_error
-#include "messages.c"
 
 static const int ASCII = 0377;
 
@@ -93,7 +90,7 @@ static void map(register unsigned char *string1, unsigned int string1_len,
        }
 }
 
-static unsigned int expand(char *arg, register unsigned char *buffer)
+static unsigned int expand(const char *arg, register unsigned char *buffer)
 {
        unsigned char *buffer_start = buffer;
        int i, ac;