mirror of
https://github.com/zydeco/libmfs.git
synced 2024-12-27 16:31:32 +00:00
no warnings on linux
This commit is contained in:
parent
f27a1382c0
commit
a04f1d89e6
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ LIB = libmfs.a
|
||||
CC = gcc
|
||||
AR = ar
|
||||
RANLIB = ranlib
|
||||
CFLAGS = -fPIC -std=c99 -I.. -DUSE_LIBRES
|
||||
CFLAGS = -Wno-multichar -fPIC -std=c99 -I.. -DUSE_LIBRES
|
||||
|
||||
all: $(LIB)
|
||||
|
||||
|
4
fobj.h
4
fobj.h
@ -1,5 +1,5 @@
|
||||
// reverse engineered FOBJ resource
|
||||
|
||||
// values are big endian
|
||||
struct __attribute__ ((__packed__)) FOBJrsrc {
|
||||
int16_t fdType; // 8 = folder, 4 = disk
|
||||
struct {
|
||||
@ -14,4 +14,4 @@ struct __attribute__ ((__packed__)) FOBJrsrc {
|
||||
uint16_t fdFlags; // finder flags
|
||||
char _rsv4[]; // the resource is bigger
|
||||
};
|
||||
typedef struct FOBJrsrc FOBJrsrc;
|
||||
typedef struct FOBJrsrc FOBJrsrc;
|
||||
|
Loading…
Reference in New Issue
Block a user