extern.h revision 1.13
11.13Sdholland/*	$NetBSD: extern.h,v 1.13 2015/08/02 18:18:09 dholland 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.13Sdhollandstruct lfs;
351.1Sperseant
361.13Sdhollanduint32_t lfs_sb_cksum(struct lfs *);
371.5Sperseantvoid	fatal(const char *fmt, ...)
381.3Sis     __attribute__((__format__(__printf__,1,2)));
391.10Smrgu_int	lfs_log2(u_int);
401.11Srizint	make_lfs(int, uint, struct dkwedge_info *, int,
411.11Sriz    int, int, int, int, int, int, daddr_t, int, int, u_int32_t);
421.1Sperseant
431.1Sperseantextern char	*progname;
441.1Sperseantextern char	*special;
45