summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-10-15 21:46:39 +0200
committerLeah Neukirchen <leah@vuxu.org>2023-10-15 21:46:39 +0200
commit07915c710f4b74b9635a7573e7cc6c936809ba48 (patch)
tree08ef9ce54871e12fa7e4b7065b3fb14e50f11841
parent57e66f56d3044caf2d5d6904ad917968018489c1 (diff)
downloadmico-07915c710f4b74b9635a7573e7cc6c936809ba48.tar.gz
mico-07915c710f4b74b9635a7573e7cc6c936809ba48.tar.xz
mico-07915c710f4b74b9635a7573e7cc6c936809ba48.zip
mico-store: cleanup
-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];