Deleted Added
full compact
ldconfig.c (92806) ldconfig.c (92882)
1/*
2 * Copyright (c) 1993,1995 Paul Kranenburg
3 * 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

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

25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31#ifndef lint
32static const char rcsid[] =
1/*
2 * Copyright (c) 1993,1995 Paul Kranenburg
3 * 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

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

25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31#ifndef lint
32static const char rcsid[] =
33 "$FreeBSD: head/sbin/ldconfig/ldconfig.c 92806 2002-03-20 17:55:10Z obrien $";
33 "$FreeBSD: head/sbin/ldconfig/ldconfig.c 92882 2002-03-21 13:14:21Z imp $";
34#endif /* not lint */
35
36#include <sys/param.h>
37#include <sys/types.h>
38#include <sys/stat.h>
39#include <sys/mman.h>
40#include <a.out.h>
41#include <ctype.h>

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

82#define major dewey[0]
83#define minor dewey[1]
84 struct shlib_list *next;
85};
86
87static struct shlib_list *shlib_head = NULL, **shlib_tail = &shlib_head;
88static char *dir_list;
89
34#endif /* not lint */
35
36#include <sys/param.h>
37#include <sys/types.h>
38#include <sys/stat.h>
39#include <sys/mman.h>
40#include <a.out.h>
41#include <ctype.h>

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

82#define major dewey[0]
83#define minor dewey[1]
84 struct shlib_list *next;
85};
86
87static struct shlib_list *shlib_head = NULL, **shlib_tail = &shlib_head;
88static char *dir_list;
89
90static int buildhints __P((void));
91static int dodir __P((char *, int));
92int dofile __P((char *, int));
93static void enter __P((char *, char *, char *, int *, int));
94static void listhints __P((void));
95static int readhints __P((void));
96static void usage __P((void));
90static int buildhints(void);
91static int dodir(char *, int);
92int dofile(char *, int);
93static void enter(char *, char *, char *, int *, int);
94static void listhints(void);
95static int readhints(void);
96static void usage(void);
97
98int
99main(argc, argv)
100int argc;
101char *argv[];
102{
103 int i, c;
104 int rval = 0;

--- 516 unchanged lines hidden ---
97
98int
99main(argc, argv)
100int argc;
101char *argv[];
102{
103 int i, c;
104 int rval = 0;

--- 516 unchanged lines hidden ---