aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-12-03 00:54:09 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-12-03 03:17:44 +0000
commit7554cc40fdecfbeb5113081640af4eeb751e19da (patch)
tree824be361d1febdd075263aadfeb71d9ac4e06763
parent9fcd22a03b9fe3aa5659d4b544fc3ccc59730031 (diff)
downloadobf-7554cc40fdecfbeb5113081640af4eeb751e19da.tar.gz
obf-7554cc40fdecfbeb5113081640af4eeb751e19da.tar.bz2
obf-7554cc40fdecfbeb5113081640af4eeb751e19da.zip
Moved MEMORY_DEFAULT to lib.h
-rw-r--r--lib.h5
-rw-r--r--main.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/lib.h b/lib.h
index dc844bb..284fc8a 100644
--- a/lib.h
+++ b/lib.h
@@ -17,8 +17,9 @@ typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
-#define MAX(A, B) ((A) < (B) ? (A) : (B))
-#define MIN(A, B) ((A) > (B) ? (A) : (B))
+#define MAX(A, B) ((A) < (B) ? (A) : (B))
+#define MIN(A, B) ((A) > (B) ? (A) : (B))
+#define MEMORY_DEFAULT 30000
bool usable_character(char c);
char *fread_all(FILE *fp);
diff --git a/main.c b/main.c
index 58357c8..f92aaaa 100644
--- a/main.c
+++ b/main.c
@@ -13,8 +13,6 @@
#include "./lib.h"
#include "./parser.h"
-#define MEMORY_DEFAULT 30000
-
#define MIN_MEM_DUMP 64
typedef struct