
The magic runtime library is now built as part of the regular build, if the MKMAGIC=yes flag is passed to the build system. The library has been renamed from "magic" to "magicrt" to resolve a name clash with BSD file(1)'s libmagic. All its level-5 LLVM warnings have been resolved. The final library, "libmagicrt.bcc", is now stored in the destination library directory rather than in the source tree. Change-Id: Iebd4b93a2cafbb59f95d938ad1edb8b4f6e729f6
12 lines
296 B
C
12 lines
296 B
C
#include <magic_def.h>
|
|
#include <magic.h>
|
|
#include <magic_mem.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <time.h>
|
|
|
|
PUBLIC int magic_asr_get_padding_size(int region);
|
|
PUBLIC void magic_asr_permute_dsentries(struct _magic_dsentry
|
|
**first_dsentry_ptr);
|
|
PUBLIC void magic_asr_init(void);
|