From 514f5297ff5ab46de090811980dc7be348b2d2f6 Mon Sep 17 00:00:00 2001 From: Etienne Brateau <etienne.brateau@ensiie.fr> Date: Thu, 17 Jan 2019 23:35:59 +0100 Subject: [PATCH] Remove unused typedefs --- log/src/log.c | 15 --------------- log/src/logsimh.c | 5 ----- 2 files changed, 20 deletions(-) diff --git a/log/src/log.c b/log/src/log.c index a6c318e..6785377 100644 --- a/log/src/log.c +++ b/log/src/log.c @@ -10154,9 +10154,6 @@ static void haproc3() #define tolerance 15 -typedef short ararr[log_million]; - - /* Local variables for historycommand: */ struct LOC_historycommand { int rflag, oldtrigger, oldreset, oldonoff, oldfast; @@ -12454,8 +12451,6 @@ static void readattrs(FILE **f, log_gattrrec **gattr, short numattrs, log_kattrr #define rtn "LOADPAGE" -typedef log_nrec *nodearray[log_million]; - typedef struct wirerec { int horiz; union { @@ -12464,10 +12459,6 @@ typedef struct wirerec { } UU; } wirerec; -typedef wirerec wirearray[log_million]; -typedef long intarray[log_million]; - - /* Local variables for loadpage: */ struct LOC_loadpage { char *reason; @@ -13038,9 +13029,6 @@ static void loadpage(char *filename_, char *reason_) #define maxdircol 8 -typedef char dirarray[maxdirmax + 1][fidleng + 1]; - - /*================= LOADCOMMAND ================*/ /*= =*/ /*= Load circuit page from disk. Previous =*/ @@ -13207,9 +13195,6 @@ if gg.t.y < 46 then y1 := 0; */ #undef maxdircol -typedef long intarray_[log_million]; - - /* Local variables for readlgf: */ struct LOC_readlgf { char *reason; diff --git a/log/src/logsimh.c b/log/src/logsimh.c index 9fe67d9..06cee91 100644 --- a/log/src/logsimh.c +++ b/log/src/logsimh.c @@ -675,8 +675,6 @@ typedef struct noderec { short truenum; } noderec; -typedef noderec nodearr[log_million + 1]; - typedef struct trailrec { struct trailrec *next; long num; @@ -704,9 +702,6 @@ typedef struct gaterec { long *ins, *outs; } gaterec; -typedef gaterec gatearray[log_million]; - - /* Local variables for compilepage: */ struct LOC_compilepage { hdefrec *hdef; -- GitLab