sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-09-07 18:23:23 +00:00
parent cac1167ac2
commit 0e5a54c21a
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
19 changed files with 662 additions and 356 deletions

View file

@ -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 */

View file

@ -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)
{

View file

@ -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 *));