Skip to content

Commit fe6badc

Browse files
committed
Fixing -Wimplicit-function-declaration msgs flagged by clang
1 parent 2a65849 commit fe6badc

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

antenna.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929

3030
#include "qrouter.h"
3131
#include "qconfig.h"
32+
#include "mask.h"
33+
#include "maze.h"
3234
#include "node.h"
3335
#include "lef.h"
3436
#include "def.h"
@@ -313,7 +315,7 @@ get_route_area_forward_fromseg(NET net, ROUTE rt, SEG nseg, int layer,
313315
}
314316
}
315317
else if ((method == ANTENNA_ROUTE) && (iroute != NULL)) {
316-
set_node_to_net(node, PR_SOURCE, iroute->glist[0], iroute->bbox, 0);
318+
set_node_to_net(node, PR_SOURCE, &iroute->glist[0], &iroute->bbox, 0);
317319
}
318320

319321
/* Walk all other routes that start or end on this node */
@@ -583,7 +585,7 @@ get_route_area_forward_fromseg(NET net, ROUTE rt, SEG nseg, int layer,
583585
if (visited) visited[node->nodenum] = VISITED;
584586
}
585587
if ((method == ANTENNA_ROUTE) && (iroute != NULL)) {
586-
set_node_to_net(node, PR_SOURCE, iroute->glist[0], iroute->bbox, 0);
588+
set_node_to_net(node, PR_SOURCE, &iroute->glist[0], &iroute->bbox, 0);
587589
}
588590
}
589591
else {

qrouter.c

-3
Original file line numberDiff line numberDiff line change
@@ -877,9 +877,6 @@ static int post_def_setup()
877877
/* want improperly defined or positioned obstruction layers to over- */
878878
/* write our node list. */
879879

880-
#ifdef TCL_QROUTER
881-
find_free_antenna_taps(antenna_cell);
882-
#endif
883880
expand_tap_geometry();
884881
clip_gate_taps();
885882
create_obstructions_from_gates();

qrouter.h

+10
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,16 @@ void apply_drc_blocks(int, double, double);
512512
void remove_top_route(NET net);
513513
char *get_annotate_info(NET net, char **pinptr);
514514

515+
void free_glist(struct routeinfo_ *iroute);
516+
517+
#ifdef TCL_QROUTER
518+
void find_free_antenna_taps(char *antennacell);
519+
#endif
520+
521+
void resolve_antenna(char *antennacell, u_char do_fix);
522+
523+
void createMask(NET net, u_char slack, u_char halo);
524+
void createBboxMask(NET net, u_char halo);
515525

516526
int read_def(char *filename);
517527

tclqrouter.c

+2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@
1919
#include <X11/StringDefs.h>
2020

2121
#include "qrouter.h"
22+
#include "mask.h"
2223
#include "maze.h"
2324
#include "qconfig.h"
2425
#include "lef.h"
2526
#include "def.h"
2627
#include "graphics.h"
2728
#include "node.h"
29+
#include "output.h"
2830
#include "tkSimple.h"
2931

3032
/* Global variables */

0 commit comments

Comments
 (0)