summaryrefslogtreecommitdiffstats
path: root/src/whatfiles.c
diff options
context:
space:
mode:
authorRolf Offermanns <rof@sysgo.com>2020-06-09 10:01:00 +0200
committerRolf Offermanns <rof@sysgo.com>2020-06-09 10:01:00 +0200
commit8069df82512455e7a1d2c7d48c55f1e6ed0220c8 (patch)
tree5b595acf75bf1fe7ef0cd89dbf66daaf919e7ca4 /src/whatfiles.c
parentf3a4c0dc10086d49a5d5878439d8f922887f13f6 (diff)
Only define global variables once. Fixes #1.
Diffstat (limited to 'src/whatfiles.c')
-rw-r--r--src/whatfiles.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/whatfiles.c b/src/whatfiles.c
index bc05408..ae8c3e1 100644
--- a/src/whatfiles.c
+++ b/src/whatfiles.c
@@ -15,6 +15,8 @@
FILE *Handle = (FILE*)NULL;
int Debug = 0;
+LastSyscall_t LastSyscall;
+DebugStats_t DebugStats;
// looks at the current syscall and outputs its information if it's one we're interested in
void check_syscall(pid_t current_pid, struct user_regs_struct regs, HashMap map)