-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
arch/TriCore/TriCoreDisassembler.c:188:6: warning: no previous prototype for function 'TriCore_getFeatureBits' [-Wmissing-prototypes]
bool TriCore_getFeatureBits(unsigned int mode, unsigned int feature)
^
arch/TriCore/TriCoreDisassembler.c:188:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool TriCore_getFeatureBits(unsigned int mode, unsigned int feature)
^
static
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool'
#define bool _Bool
^
arch/TriCore/TriCoreInstPrinter.c:517:6: warning: no previous prototype for function 'set_mem_access' [-Wmissing-prototypes]
void set_mem_access(MCInst *MI, unsigned int access)
^
arch/TriCore/TriCoreInstPrinter.c:517:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void set_mem_access(MCInst *MI, unsigned int access)
^
static
In file included from arch/TriCore/TriCoreInstPrinter.c:524:
arch/TriCore/TriCoreGenAsmWriter.inc:19:18: warning: no previous prototype for function 'getMnemonic' [-Wmissing-prototypes]
MnemonicBitsInfo getMnemonic(MCInst *MI, SStream *O) {
^
arch/TriCore/TriCoreGenAsmWriter.inc:19:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
MnemonicBitsInfo getMnemonic(MCInst *MI, SStream *O) {
^
static
arch/TriCore/TriCoreGenAsmWriter.inc:3685:6: warning: no previous prototype for function 'printAliasInstr' [-Wmissing-prototypes]
bool printAliasInstr(MCInst *MI, uint64_t Address, SStream *OS) {
^
arch/TriCore/TriCoreGenAsmWriter.inc:3685:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool printAliasInstr(MCInst *MI, uint64_t Address, SStream *OS) {
^
static
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool'
#define bool _Bool
^
arch/TriCore/TriCoreModule.c:11:8: warning: no previous prototype for function 'TRICORE_global_init' [-Wmissing-prototypes]
cs_err TRICORE_global_init(cs_struct *ud)
^
arch/TriCore/TriCoreModule.c:11:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
cs_err TRICORE_global_init(cs_struct *ud)
^
static
arch/TriCore/TriCoreModule.c:32:8: warning: no previous prototype for function 'TRICORE_option' [-Wmissing-prototypes]
cs_err TRICORE_option(cs_struct *handle, cs_opt_type type, size_t value)
^
arch/TriCore/TriCoreModule.c:32:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
cs_err TRICORE_option(cs_struct *handle, cs_opt_type type, size_t value)
^
static
2 warnings generated.
arch/TriCore/TriCoreDisassembler.c:1521:6: warning: no previous prototype for function 'TriCore_getInstruction' [-Wmissing-prototypes]
bool TriCore_getInstruction(csh ud, const uint8_t *code, size_t code_len,
^
arch/TriCore/TriCoreDisassembler.c:1521:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool TriCore_getInstruction(csh ud, const uint8_t *code, size_t code_len,
^
static
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include/stdbool.h:22:14: note: expanded from macro 'bool'
#define bool _Bool
^
arch/TriCore/TriCoreDisassembler.c:1570:6: warning: no previous prototype for function 'TriCore_init' [-Wmissing-prototypes]
void TriCore_init(MCRegisterInfo *MRI)
^
arch/TriCore/TriCoreDisassembler.c:1570:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void TriCore_init(MCRegisterInfo *MRI)
^
static
b1llow
Metadata
Metadata
Assignees
Labels
No labels