diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-10-06 19:59:58 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-10-06 19:59:58 +0000 |
commit | 95a39811d84ea5472254af6d7f8c260fa78e8245 (patch) | |
tree | c4707b2175ece1b9d076bc50c745addf27956618 /sys | |
parent | df24801a5f097731470ff8835f5c8de5eb2d3b77 (diff) |
Fix dlfcn.h and link.h for arc port
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arc/include/disklabel.h | 6 | ||||
-rw-r--r-- | sys/arch/arc/include/dlfcn.h | 42 |
2 files changed, 47 insertions, 1 deletions
diff --git a/sys/arch/arc/include/disklabel.h b/sys/arch/arc/include/disklabel.h index 0a2c0582e5f..085272f8704 100644 --- a/sys/arch/arc/include/disklabel.h +++ b/sys/arch/arc/include/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.4 1996/09/24 12:07:08 deraadt Exp $ */ +/* $OpenBSD: disklabel.h,v 1.5 1996/10/06 19:59:56 pefo Exp $ */ /* $NetBSD: disklabel.h,v 1.2 1995/01/18 06:37:55 mellon Exp $ */ /* @@ -65,6 +65,10 @@ struct dos_partition { #define DOSPTYP_386BSD 0xa5 /* 386BSD partition type */ #define DOSPTYP_NETBSD DOSPTYP_386BSD /* NetBSD partition type (XXX) */ #define DOSPTYP_OPENBSD 0xa6 /* OpenBSD partition type */ +#define DOSPTYP_FAT12 0x1 +#define DOSPTYP_FAT16S 0x4 +#define DOSPTYP_FAT16B 0x6 +#define DOSPTYP_FAT16C 0xe #include <sys/dkbad.h> struct cpu_disklabel { diff --git a/sys/arch/arc/include/dlfcn.h b/sys/arch/arc/include/dlfcn.h new file mode 100644 index 00000000000..33ebe265ddc --- /dev/null +++ b/sys/arch/arc/include/dlfcn.h @@ -0,0 +1,42 @@ +/* $OpenBSD: dlfcn.h,v 1.1 1996/10/06 19:59:57 pefo Exp $ */ + +/* + * Copyright (c) 1996 Per Fogelstrom + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed under OpenBSD by + * Per Fogelstrom. + * 4. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + */ + +#ifndef _DLFCN_H +#define _DLFCN_H 1 + +/* + * This is a dummy file. Empty until libdl has been done. + */ + +#endif /* _DLFCN_H */ |