| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: extern.h,v 1.18 2017/02/08 18:05:25 rin Exp $ */ | | 1 | /* $NetBSD: extern.h,v 1.19 2020/04/18 12:54:38 jdolecek Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1997 Christos Zoulas. All rights reserved. | | 4 | * Copyright (c) 1997 Christos Zoulas. All rights reserved. |
5 | * | | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions | | 7 | * modification, are permitted provided that the following conditions |
8 | * are met: | | 8 | * are met: |
9 | * 1. Redistributions of source code must retain the above copyright | | 9 | * 1. Redistributions of source code must retain the above copyright |
10 | * notice, this list of conditions and the following disclaimer. | | 10 | * notice, this list of conditions and the following disclaimer. |
11 | * 2. Redistributions in binary form must reproduce the above copyright | | 11 | * 2. Redistributions in binary form must reproduce the above copyright |
12 | * notice, this list of conditions and the following disclaimer in the | | 12 | * notice, this list of conditions and the following disclaimer in the |
13 | * documentation and/or other materials provided with the distribution. | | 13 | * documentation and/or other materials provided with the distribution. |
14 | * | | 14 | * |
| @@ -62,13 +62,18 @@ extern int needswap; /* Filesystem not i | | | @@ -62,13 +62,18 @@ extern int needswap; /* Filesystem not i |
62 | #define ffs_cg_swap(a, b, c) __nothing | | 62 | #define ffs_cg_swap(a, b, c) __nothing |
63 | #define ffs_csum_swap(a, b, c) __nothing | | 63 | #define ffs_csum_swap(a, b, c) __nothing |
64 | #define ffs_dinode1_swap(a, b) __nothing | | 64 | #define ffs_dinode1_swap(a, b) __nothing |
65 | #define ffs_sb_swap(a, b) __nothing | | 65 | #define ffs_sb_swap(a, b) __nothing |
66 | #endif | | 66 | #endif |
67 | | | 67 | |
68 | #ifndef NO_APPLE_UFS | | 68 | #ifndef NO_APPLE_UFS |
69 | extern int isappleufs; /* Filesystem is Apple UFS */ | | 69 | extern int isappleufs; /* Filesystem is Apple UFS */ |
70 | extern char *appleufs_volname; /* Apple UFS volume name */ | | 70 | extern char *appleufs_volname; /* Apple UFS volume name */ |
71 | #else | | 71 | #else |
72 | /* Disable Apple UFS support for install media */ | | 72 | /* Disable Apple UFS support for install media */ |
73 | #define isappleufs (0) | | 73 | #define isappleufs (0) |
74 | #endif | | 74 | #endif |
| | | 75 | |
| | | 76 | #ifdef NO_IOBUF_ALIGNED |
| | | 77 | #define aligned_alloc(align, size) malloc((size)) |
| | | 78 | #endif |
| | | 79 | |