Deleted Added
full compact
mystring.h (1557) mystring.h (3044)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)mystring.h 8.1 (Berkeley) 5/31/93
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)mystring.h 8.1 (Berkeley) 5/31/93
37 * $Id$
37 */
38
39#include <string.h>
40
41#ifdef __STDC__
42void scopyn(const char *, char *, int);
43int prefix(const char *, const char *);
44int number(const char *);
45int is_number(const char *);
46#else
47void scopyn();
48int prefix();
49int number();
50int is_number();
51#endif
52
53#define equal(s1, s2) (strcmp(s1, s2) == 0)
54#define scopy(s1, s2) ((void)strcpy(s2, s1))
38 */
39
40#include <string.h>
41
42#ifdef __STDC__
43void scopyn(const char *, char *, int);
44int prefix(const char *, const char *);
45int number(const char *);
46int is_number(const char *);
47#else
48void scopyn();
49int prefix();
50int number();
51int is_number();
52#endif
53
54#define equal(s1, s2) (strcmp(s1, s2) == 0)
55#define scopy(s1, s2) ((void)strcpy(s2, s1))