diff options
author | Rolf Offermanns <rof@sysgo.com> | 2020-06-09 10:01:00 +0200 |
---|---|---|
committer | Rolf Offermanns <rof@sysgo.com> | 2020-06-09 10:01:00 +0200 |
commit | 8069df82512455e7a1d2c7d48c55f1e6ed0220c8 (patch) | |
tree | 5b595acf75bf1fe7ef0cd89dbf66daaf919e7ca4 /src/whatfiles.c | |
parent | f3a4c0dc10086d49a5d5878439d8f922887f13f6 (diff) |
Only define global variables once. Fixes #1.
Diffstat (limited to 'src/whatfiles.c')
-rw-r--r-- | src/whatfiles.c | 2 |
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) |