diff options
author | Tim Edwards <tim@opencircuitdesign.com> | 2016-01-18 19:50:17 -0500 |
---|---|---|
committer | Tim Edwards <tim@opencircuitdesign.com> | 2016-01-18 19:50:17 -0500 |
commit | e773571bff4449ad3e9ccfb47feb041de116e751 (patch) | |
tree | 5188e557be6bfe436094767ad7d1d05f94906fbf /qconfig.c | |
parent | 3c30a8cb6f6c6752664f0a887c5eb7d77906b484 (diff) |
Wholesale update with changes from Staf Verhaegen's branch on
gitlab.com. Only difference from that version is a change to
the nesting of the statement in maze.c annotated with FIXME
by Staf.
Diffstat (limited to 'qconfig.c')
-rw-r--r-- | qconfig.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -13,6 +13,7 @@ #define _GNU_SOURCE // for strcasestr(), see man page +#include <ctype.h> #include <stdio.h> #include <math.h> #include <stdlib.h> @@ -70,7 +71,7 @@ char *ViaY[MAX_LAYERS]; /*--------------------------------------------------------------*/ void -post_config() +post_config(void) { int i, h, v; @@ -132,14 +133,13 @@ int read_config(FILE *fconfig, int is_info) char carg; double darg, darg2, darg3, darg4; char sarg[MAX_LINE_LEN]; - size_t len = 0; char line[MAX_LINE_LEN]; char *lineptr; STRING dnr; // Do Not Route nets STRING cn; // critical nets STRING strl; - GATE gateinfo; // gate information, pin location, etc - DSEG grect, drect; + GATE gateinfo = NULL; // gate information, pin location, etc + DSEG drect; if (Firstcall) { for (i = 0; i < MAX_LAYERS; i++) { |