loci: stop generating empty loci.c
diff --git a/c_gen/c_code_gen.py b/c_gen/c_code_gen.py
index 14863ca..cce4d09 100644
--- a/c_gen/c_code_gen.py
+++ b/c_gen/c_code_gen.py
@@ -485,36 +485,6 @@
c_match.gen_serialize(out)
c_match.gen_deserialize(out)
-def top_c_gen(out, name):
- """
- Generate code for
- @param out The file handle to write to
- @param name The name of the file
- """
- common_top_matter(out, name)
- # Generic C code that needs to go into loci.c can go here.
- out.write("""
-/****************************************************************
- *
- * This file is divided into the following sections.
- *
- * Instantiate strings such as object names
- * Special case macros for low level object access
- * Per-class, per-member accessor definitions
- * Per-class new/init function definitions
- * Per-class new/init pointer instantiations
- * Instantiate "set map" for pointer set fns
- *
- ****************************************************************/
-
-#include <loci/loci.h>
-#include <loci/of_object.h>
-#include "loci_log.h"
-#include "loci_push_wire_types.h"
-#include "loci_int.h"
-
-""")
-
def type_data_c_gen(out, name):
common_top_matter(out, name)
c_type_maps.gen_type_maps(out)
diff --git a/lang_c.py b/lang_c.py
index 1483757..d550b84 100644
--- a/lang_c.py
+++ b/lang_c.py
@@ -72,7 +72,6 @@
'loci/inc/loci/of_wire_buf.h': static,
# LOCI code
- 'loci/src/loci.c': c_code_gen.top_c_gen,
'loci/src/of_type_data.c': c_code_gen.type_data_c_gen,
'loci/src/of_match.c': c_code_gen.match_c_gen,
'loci/src/loci_obj_dump.c': c_dump_gen.gen_obj_dump_c,