cdrtools/libhfs_iso/gdata.c

23 lines
634 B
C
Raw Normal View History

2025-06-15 04:19:58 +08:00
/* @(#)gdata.c 1.5 09/07/11 Copyright 2001-2009 J. Schilling */
#include <schily/mconfig.h>
#ifndef lint
static UConst char sccsid[] =
"@(#)gdata.c 1.5 09/07/11 Copyright 2001-2009 J. Schilling";
#endif
#include "internal.h"
char *hfs_error = "no error"; /* static error string */
#if defined(IS_MACOS_X)
/*
* The MAC OS X linker does not grok "common" varaibles.
* Make __roothandle a "data" variable.
*/
hfsvol *hfs_mounts = 0; /* linked list of mounted volumes */
hfsvol *hfs_curvol = 0; /* current volume */
#else
hfsvol *hfs_mounts; /* linked list of mounted volumes */
hfsvol *hfs_curvol; /* current volume */
#endif