Don't bother including <string.h> at all; instead trust that "ux.h"
authorChris Hanson <org/chris-hanson/cph>
Sun, 24 Jul 2005 05:06:40 +0000 (05:06 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sun, 24 Jul 2005 05:06:40 +0000 (05:06 +0000)
will do the right thing.

v7/src/microcode/uxio.c

index db6f84cc64d937fff565f30c41315bd50b2cca0b..c6846872531e3609dcebe84a08abb65b992dde28 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: uxio.c,v 1.52 2005/07/09 03:28:14 cph Exp $
+$Id: uxio.c,v 1.53 2005/07/24 05:06:40 cph Exp $
 
 Copyright 1990,1991,1992,1993,1994,1995 Massachusetts Institute of Technology
 Copyright 1996,1997,1998,2000,2001,2003 Massachusetts Institute of Technology
@@ -241,12 +241,6 @@ DEFUN (OS_channel_write_dump_file, (channel, buffer, nbytes),
   return ((scr < 0) ? 0 : scr);
 }
 
-#ifdef HAVE_STRING_H
-#  include <string.h>
-#else
-   extern int EXFUN (strlen, (CONST char *));
-#endif
-
 void
 DEFUN (OS_channel_write_string, (channel, string),
        Tchannel channel AND