From 86e9acc7a7b714307e08ab25117ca03cecb00936 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 9 Oct 2014 13:44:26 +0000 Subject: throw away the long obsolete runtime type information in the C runtime --- src/runtime/c/utils/pgf-print.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/runtime/c/utils/pgf-print.c') 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 #include -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)) { -- cgit v1.2.3