summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mico-store.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/mico-store.c b/mico-store.c
index 6ee1833..f92d592 100644
--- a/mico-store.c
+++ b/mico-store.c
@@ -3,12 +3,10 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <string.h>
+#include <stdlib.h>
 
 #include <zip.h>
 
-#define STB_DS_IMPLEMENTATION
-#include "stb_ds.h"
-
 #define MICO_HEADER "\211MiC\r\n\032\n"
 
 struct event {
@@ -21,8 +19,6 @@ struct metric {
 	struct event *value;  // array
 };
 
-struct metric *metrics;
-
 int
 timecmp(const void *a, const void *b)
 {
@@ -193,8 +189,6 @@ write_stream(char *name)
 int
 main(int argc, char *argv[])
 {
-	sh_new_arena(metrics);
-
 	char name[255];
 	char lastname[255];