Remove RCS keywords, since they no longer work after git migration.
[mmh] / sbr / copyip.c
1
2 /*
3  * copyip.c -- copy a string array and return pointer to end
4  *
5  * This code is Copyright (c) 2002, by the authors of nmh.  See the
6  * COPYRIGHT file in the root directory of the nmh distribution for
7  * complete copyright information.
8  */
9
10 #include <h/mh.h>
11
12
13 char **
14 copyip (char **p, char **q, int len_q)
15 {
16     while (*p && --len_q > 0)
17         *q++ = *p++;
18
19     *q = NULL;
20
21     return q;
22 }