Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 3044045

Browse files
authored
Merge pull request #107 from dreua/fix_global_extern
Mark global variable as extern
2 parents f7cebb7 + 798ed19 commit 3044045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/intercept.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ bool is_overwritable_nop(const struct intercept_disasm_result *ins);
215215

216216
void create_jump(unsigned char opcode, unsigned char *from, void *to);
217217

218-
const char *cmdline;
218+
extern const char *cmdline;
219219

220220
#define PAGE_SIZE ((size_t)0x1000)
221221

0 commit comments

Comments
 (0)