2 Copyright © 2006, The AROS Development Team. All rights reserved.
9 void patches_init(void);
10 void patches_set(void);
11 void patches_reset(void);
13 char *MyNameFromLock(BPTR lock
, char *filename
, char *buf
, int maxlen
);
14 void GetVolName(BPTR lock
, char *buf
, int maxlen
);
16 enum {LIB_Dos
, LIB_Exec
, LIB_Icon
, LIB_Intuition
, LIB_Graphics
, LIB_last
};
50 * Macro (courtesy of Doug Walker) used to allocate longword-aligned
51 * data on the stack. We can't use __aligned inside our patches
52 * because the caller may not have a longword-aligned stack.
54 #define D_S(name, type) char c_##name[sizeof(type)+3]; \
55 type *name = (type *)((long)(c_##name+3) & ~3)