extern.h revision 1.3
11.3Sis/* $NetBSD: extern.h,v 1.3 2000/10/10 20:24:52 is 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.1Sperseantu_long lfs_sb_cksum __P((struct dlfs *)); 411.1Sperseantu_long cksum __P((void *, size_t)); 421.1Sperseantu_short dkcksum __P((struct disklabel *)); 431.3Sisvoid fatal __P((const char *fmt, ...)) 441.3Sis __attribute__((__format__(__printf__,1,2))); 451.1Sperseantu_int log2 __P((u_int)); 461.1Sperseantint make_lfs 471.1Sperseant __P((int, struct disklabel *, struct partition *, int, 481.2Sperseant int, int, int, int)); 491.1Sperseantint mkfs __P((struct partition *, char *, int, int)); 501.1Sperseant 511.1Sperseantextern char *progname; 521.1Sperseantextern char *special; 53