Deleted Added
full compact
strspn.c (77117) strspn.c (86170)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34#if defined(LIBC_SCCS) && !defined(lint)
35static char sccsid[] = "@(#)strspn.c 8.1 (Berkeley) 6/4/93";
36#endif /* LIBC_SCCS and not lint */
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34#if defined(LIBC_SCCS) && !defined(lint)
35static char sccsid[] = "@(#)strspn.c 8.1 (Berkeley) 6/4/93";
36#endif /* LIBC_SCCS and not lint */
37#ifndef lint
38static const char rcsid[] =
39 "$FreeBSD: head/lib/libc/string/strspn.c 77117 2001-05-24 08:47:42Z obrien $";
40#endif
41
42#include <sys/cdefs.h>
37#include <sys/cdefs.h>
38__FBSDID("$FreeBSD: head/lib/libc/string/strspn.c 86170 2001-11-07 19:55:16Z obrien $");
39
43#include <string.h>
44
45/*
46 * Span the string s2 (skip characters that are in s2).
47 */
48size_t
49strspn(s1, s2)
50 const char *s1;

--- 15 unchanged lines hidden ---
40#include <string.h>
41
42/*
43 * Span the string s2 (skip characters that are in s2).
44 */
45size_t
46strspn(s1, s2)
47 const char *s1;

--- 15 unchanged lines hidden ---