summaryrefslogtreecommitdiff
path: root/src/runtime/c/utils/pgf-print.c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-10-09 13:44:26 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-10-09 13:44:26 +0000
commit86e9acc7a7b714307e08ab25117ca03cecb00936 (patch)
tree38dd7904147567c4e97e1f62eca64739d3a516eb /src/runtime/c/utils/pgf-print.c
parent8e3ed825a8dde13894a44169ddc09cc2c2be60b2 (diff)
throw away the long obsolete runtime type information in the C runtime
Diffstat (limited to 'src/runtime/c/utils/pgf-print.c')
-rw-r--r--src/runtime/c/utils/pgf-print.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/runtime/c/utils/pgf-print.c b/src/runtime/c/utils/pgf-print.c
index b937ed46c..07b343a4d 100644
--- a/src/runtime/c/utils/pgf-print.c
+++ b/src/runtime/c/utils/pgf-print.c
@@ -7,8 +7,6 @@
#include <locale.h>
#include <stdlib.h>
-GU_DECLARE_TYPE(PgfAbstr, struct);
-
int main(int argc, char* argv[]) {
// Set the character locale, so we can produce proper output.
setlocale(LC_CTYPE, "");
@@ -20,7 +18,7 @@ int main(int argc, char* argv[]) {
char* filename = argv[1];
GuPool* pool = gu_new_pool();
- GuExn* err = gu_exn(NULL, type, pool);
+ GuExn* err = gu_exn(pool);
PgfPGF* pgf = pgf_read(filename, pool, err);
int status = 0;
if (!gu_ok(err)) {