From b8d4671dfd6806db6b5401bb2c95168ceba6a715 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 28 Jan 2014 00:09:04 +0000 Subject: remove the global declaration of the common shellcodes the header shellcodes.h meant to be included only by one source file. the global declaration of common_shellcodes_g is then useless and we do not want it. --- shellcodes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shellcodes.h b/shellcodes.h index 679a0d9..1676e7f 100644 --- a/shellcodes.h +++ b/shellcodes.h @@ -24,7 +24,7 @@ typedef struct { char *payload; } shellcode_t; -shellcode_t common_shellcodes_g[] = { +static shellcode_t common_shellcodes_g[] = { { .name = "Linux x86\n" "\texecve(\"/bin/sh\", 0, 0)", -- cgit v1.2.3