Deleted Added
full compact
trimdomain.c (74386) trimdomain.c (84225)
1/*-
2 * Copyright (c) 2001 Brian Somers <brian@Awfulhak.org>
3 * Based on original work by Atsushi Murai <amurai@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 */
28
1/*-
2 * Copyright (c) 2001 Brian Somers <brian@Awfulhak.org>
3 * Based on original work by Atsushi Murai <amurai@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 */
28
29#if !defined(lint)
30static const char rcsid[] =
31 "$FreeBSD: head/lib/libutil/trimdomain.c 74386 2001-03-17 10:09:52Z brian $";
32#endif /* not lint */
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: head/lib/libutil/trimdomain.c 84225 2001-09-30 22:35:07Z dillon $");
33
34#include <sys/param.h>
35
36#include <libutil.h>
37#include <string.h>
38#include <unistd.h>
39
40static int isDISP(const char *);

--- 78 unchanged lines hidden ---
31
32#include <sys/param.h>
33
34#include <libutil.h>
35#include <string.h>
36#include <unistd.h>
37
38static int isDISP(const char *);

--- 78 unchanged lines hidden ---