In-sourced copyip() and could make the code simpler.
[mmh] / sbr / copyip.c
diff --git a/sbr/copyip.c b/sbr/copyip.c
deleted file mode 100644 (file)
index e5ded82..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-** copyip.c -- copy a string array and return pointer to end
-**
-** This code is Copyright (c) 2002, by the authors of nmh.  See the
-** COPYRIGHT file in the root directory of the nmh distribution for
-** complete copyright information.
-*/
-
-#include <h/mh.h>
-
-
-char **
-copyip(char **p, char **q, int len_q)
-{
-       while (*p && --len_q > 0)
-               *q++ = *p++;
-       *q = NULL;
-
-       return q;
-}