core: do aligned transfers in bcopy32
[syslinux.git] / com32 / lib / init.h
blob2d98342704aa1a45c28e77abeb5c01b01b0d2609
1 /*
2 * init.h
4 * Magic to set up initializers
5 */
7 #ifndef _INIT_H
8 #define _INIT_H 1
10 #include <inttypes.h>
12 #define COM32_INIT(x) static const void * const __COM32_INIT \
13 __attribute__((section(".init_array"),unused)) = (const void * const)&x
15 #endif /* _INIT_H */