Remove stat_info calls
authorDale Weiler <weilercdale@gmail.com>
Wed, 14 Jan 2015 01:25:44 +0000 (20:25 -0500)
committerDale Weiler <weilercdale@gmail.com>
Wed, 14 Jan 2015 01:25:44 +0000 (20:25 -0500)
gmqcc.h
main.c
stat.c
test.c

diff --git a/gmqcc.h b/gmqcc.h
index 9f4246776c4d2005106c3492c0a6e7c36f652f72..e609257d7cf72281b3684fe1943eb1925a2a97b3 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -179,7 +179,6 @@ GMQCC_IND_STRING(GMQCC_VERSION_PATCH) \
 #define GMQCC_ARRAY_COUNT(X) (sizeof(X) / sizeof((X)[0]))
 
 /* stat.c */
-void  stat_info(void);
 char *stat_mem_strdup(const char *, bool);
 
 #define mem_a(SIZE)              malloc(SIZE)
diff --git a/main.c b/main.c
index db8aed08f29af02c2d8a85e380d972c0bd2a0717..41828c7d3ff68c4be14c2e61b2e69b52a0ceecb6 100644 (file)
--- a/main.c
+++ b/main.c
@@ -791,7 +791,6 @@ cleanup:
         mem_d((void*)operators);
 
     lex_cleanup();
-    stat_info();
 
     if (!retval && compile_errors)
         retval = 1;
diff --git a/stat.c b/stat.c
index d5cbe3e90bc0e83ef17e26c4aa153e1564133309..3643dfc0c91e81857cc8267c358bfcb9b9015d97 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -270,7 +270,3 @@ void util_htrm(hash_table_t *ht, const char *key, void (*cb)(void*)) {
 void util_htdel(hash_table_t *ht) {
     util_htrem(ht, NULL);
 }
-
-void stat_info() {
-}
-#undef ST_SIZE
diff --git a/test.c b/test.c
index 4ffba6f38298110f38c5594a48c65cb0a9aa4af5..a096910acef16e31fe13a89303ebe9c3ccfb4375 100644 (file)
--- a/test.c
+++ b/test.c
@@ -1408,7 +1408,6 @@ int main(int argc, char **argv) {
     }
     con_change(redirout, redirerr);
     succeed = test_perform("tests", defs);
-    stat_info();
 
     return (succeed) ? EXIT_SUCCESS : EXIT_FAILURE;
 }