Suppress implicit declaration warnings.

This commit is contained in:
tsutsui 2024-05-31 20:29:24 +00:00
parent 6a13daf634
commit 3acbd1aa78
5 changed files with 9 additions and 1 deletions

View File

@ -22,9 +22,11 @@
#ifdef APPLE_HYB #ifdef APPLE_HYB
#include <config.h>
#include <string.h> #include <string.h>
#include <err.h> #include <err.h>
#include "hfs.h" #include "mkisofs.h"
#include "volume.h"
#define DB "Desktop DB" #define DB "Desktop DB"
#define DBFC "DMGR" #define DBFC "DMGR"

View File

@ -149,4 +149,5 @@ int hfs_rename(hfsvol *, char *, char *);
#ifdef APPLE_HYB #ifdef APPLE_HYB
unsigned short hfs_get_drAllocPtr(hfsfile *); unsigned short hfs_get_drAllocPtr(hfsfile *);
int hfs_set_drAllocPtr(hfsfile *, unsigned short, int size); int hfs_set_drAllocPtr(hfsfile *, unsigned short, int size);
void hfs_vsetbless(hfsvol *, unsigned long);
#endif /* APPLE_HYB */ #endif /* APPLE_HYB */

View File

@ -23,6 +23,7 @@
#include <mkisofs.h> #include <mkisofs.h>
#include "mac_label_proto.h" #include "mac_label_proto.h"
#include <mac_label.h> #include <mac_label.h>
#include "data.h"
int int
gen_mac_label(defer *mac_boot) gen_mac_label(defer *mac_boot)

View File

@ -433,6 +433,9 @@ extern int DECL(check_prev_session, (struct directory_entry **, int len,
struct stat *, struct stat *,
struct directory_entry **)); struct directory_entry **));
/* desktop.c */
extern int make_desktop(hfsvol *, int);
#ifdef USE_SCG #ifdef USE_SCG
/* scsi.c */ /* scsi.c */
#ifdef __STDC__ #ifdef __STDC__

View File

@ -20,4 +20,5 @@
#define VOLUME_H #define VOLUME_H
extern int make_mac_volume(struct directory *, int); extern int make_mac_volume(struct directory *, int);
extern int write_fork(hfsfile *, long);
#endif #endif