vfslist.c (23413) | vfslist.c (28671) |
---|---|
1/* | 1/*- |
2 * Copyright (c) 1995 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 9 * notice, this list of conditions and the following disclaimer. --- 17 unchanged lines hidden (view full) --- 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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#ifndef lint | 2 * Copyright (c) 1995 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 9 * notice, this list of conditions and the following disclaimer. --- 17 unchanged lines hidden (view full) --- 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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#ifndef lint |
35#if 0 |
|
35static char sccsid[] = "@(#)vfslist.c 8.1 (Berkeley) 5/8/95"; | 36static char sccsid[] = "@(#)vfslist.c 8.1 (Berkeley) 5/8/95"; |
37#else 38static const char rcsid[] = 39 "$Id$"; 40#endif |
|
36#endif /* not lint */ 37 | 41#endif /* not lint */ 42 |
43#include <err.h> |
|
38#include <stdlib.h> 39#include <string.h> 40#include <unistd.h> 41 | 44#include <stdlib.h> 45#include <string.h> 46#include <unistd.h> 47 |
42int checkvfsname __P((const char *, const char **)); 43const char **makevfslist __P((char *)); | 48#include "extern.h" 49 |
44static int skipvfs; 45 46int 47checkvfsname(vfsname, vfslist) 48 const char *vfsname; 49 const char **vfslist; 50{ 51 --- 41 unchanged lines hidden --- | 50static int skipvfs; 51 52int 53checkvfsname(vfsname, vfslist) 54 const char *vfsname; 55 const char **vfslist; 56{ 57 --- 41 unchanged lines hidden --- |