extern.h revision 1.5
11.5Sperseant/*	$NetBSD: extern.h,v 1.5 2001/07/13 20:30:20 perseant Exp $	*/
21.1Sperseant
31.1Sperseant/*-
41.1Sperseant * Copyright (c) 1991, 1993
51.1Sperseant *	The Regents of the University of California.  All rights reserved.
61.1Sperseant *
71.1Sperseant * Redistribution and use in source and binary forms, with or without
81.1Sperseant * modification, are permitted provided that the following conditions
91.1Sperseant * are met:
101.1Sperseant * 1. Redistributions of source code must retain the above copyright
111.1Sperseant *    notice, this list of conditions and the following disclaimer.
121.1Sperseant * 2. Redistributions in binary form must reproduce the above copyright
131.1Sperseant *    notice, this list of conditions and the following disclaimer in the
141.1Sperseant *    documentation and/or other materials provided with the distribution.
151.1Sperseant * 3. All advertising materials mentioning features or use of this software
161.1Sperseant *    must display the following acknowledgement:
171.1Sperseant *	This product includes software developed by the University of
181.1Sperseant *	California, Berkeley and its contributors.
191.1Sperseant * 4. Neither the name of the University nor the names of its contributors
201.1Sperseant *    may be used to endorse or promote products derived from this software
211.1Sperseant *    without specific prior written permission.
221.1Sperseant *
231.1Sperseant * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
241.1Sperseant * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
251.1Sperseant * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
261.1Sperseant * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
271.1Sperseant * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
281.1Sperseant * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
291.1Sperseant * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
301.1Sperseant * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
311.1Sperseant * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
321.1Sperseant * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
331.1Sperseant * SUCH DAMAGE.
341.1Sperseant *
351.1Sperseant *	@(#)extern.h	8.2 (Berkeley) 5/24/95
361.1Sperseant */
371.1Sperseant
381.1Sperseantstruct dlfs;
391.1Sperseant
401.5Sperseantu_long  lfs_sb_cksum(struct dlfs *);
411.5Sperseantu_long	cksum(void *, size_t);
421.5Sperseantu_short	dkcksum(struct disklabel *);
431.5Sperseantvoid	fatal(const char *fmt, ...)
441.3Sis     __attribute__((__format__(__printf__,1,2)));
451.5Sperseantu_int	log2(u_int);
461.5Sperseantint	make_lfs(int, struct disklabel *, struct partition *, int,
471.5Sperseant		int, int, int, int, int, int, int, int, u_int32_t);
481.1Sperseant
491.1Sperseantextern char	*progname;
501.1Sperseantextern char	*special;
51