From 06afc729f9061c1cfa14c78728d61d518324c2f0 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Wed, 04 May 2022 05:46:43 +0000 Subject: [PATCH] Moved all global variables to separate file and defined extern keyword where appropriate --- src/snapshot.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/snapshot.c b/src/snapshot.c index 46534dc..81fb476 100644 --- a/src/snapshot.c +++ b/src/snapshot.c @@ -10,6 +10,8 @@ #include<config.h> #include <time.h> #include "io.h" +#include "globals.h" + /* a helper function that utilizes ts_string data structure and performs same as sprintf */ ts_uint ts_sprintf(ts_string *str, char *fmt, ...){ va_list ap; -- Gitblit v1.9.3