extern.h revision 1.7
11.7Sagc/*	$NetBSD: extern.h,v 1.7 2003/08/07 10:04:34 agc 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.7Sagc * 3. Neither the name of the University nor the names of its contributors
161.1Sperseant *    may be used to endorse or promote products derived from this software
171.1Sperseant *    without specific prior written permission.
181.1Sperseant *
191.1Sperseant * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
201.1Sperseant * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
211.1Sperseant * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
221.1Sperseant * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
231.1Sperseant * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
241.1Sperseant * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
251.1Sperseant * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
261.1Sperseant * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
271.1Sperseant * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
281.1Sperseant * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
291.1Sperseant * SUCH DAMAGE.
301.1Sperseant *
311.1Sperseant *	@(#)extern.h	8.2 (Berkeley) 5/24/95
321.1Sperseant */
331.1Sperseant
341.1Sperseantstruct dlfs;
351.1Sperseant
361.5Sperseantu_long  lfs_sb_cksum(struct dlfs *);
371.5Sperseantu_long	cksum(void *, size_t);
381.5Sperseantu_short	dkcksum(struct disklabel *);
391.5Sperseantvoid	fatal(const char *fmt, ...)
401.3Sis     __attribute__((__format__(__printf__,1,2)));
411.5Sperseantu_int	log2(u_int);
421.5Sperseantint	make_lfs(int, struct disklabel *, struct partition *, int,
431.6Sfvdl		int, int, int, int, int, daddr_t, int, int, u_int32_t);
441.1Sperseant
451.1Sperseantextern char	*progname;
461.1Sperseantextern char	*special;
47