sync code with last improvements from OpenBSD
This commit is contained in:
parent
cac1167ac2
commit
0e5a54c21a
19 changed files with 662 additions and 356 deletions
|
@ -36,6 +36,8 @@
|
|||
/* from "data.h" - libhfs routines */
|
||||
void d_putw(unsigned char *, short);
|
||||
void d_putl(unsigned char *, long);
|
||||
/* from volume.c */
|
||||
void write_fork(hfsfile *, long);
|
||||
|
||||
extern hce_mem *hce; /* libhfs/mkisofs extras */
|
||||
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
#include "mac_label_proto.h"
|
||||
#include <mac_label.h>
|
||||
|
||||
/* from libhfs_iso/data.h */
|
||||
short d_getw(unsigned char *);
|
||||
|
||||
int
|
||||
gen_mac_label(defer *mac_boot)
|
||||
{
|
||||
|
|
|
@ -19,6 +19,11 @@
|
|||
#include "write.h"
|
||||
#include <errno.h>
|
||||
|
||||
/* from desktop.c */
|
||||
int make_desktop(hfsvol *, int);
|
||||
/* from libhfs_iso/hfs.c */
|
||||
void hfs_vsetbless(hfsvol *, unsigned long);
|
||||
|
||||
static hfsvol *vol_save = 0; /* used to "destroy" an HFS volume */
|
||||
|
||||
int DECL(copy_to_mac_vol, (hfsvol *, struct directory *));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue