From 23a546717848fd664abbfcb14d05916ff4375275 Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Tue, 29 Jul 2008 23:19:24 +0000 Subject: Use static for variables local to one source file. svn path=/trunk/netsurf/; revision=4812 --- desktop/knockout.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'desktop/knockout.c') diff --git a/desktop/knockout.c b/desktop/knockout.c index cbffa3d39..4a82dc47f 100644 --- a/desktop/knockout.c +++ b/desktop/knockout.c @@ -214,22 +214,21 @@ struct knockout_entry { }; -struct knockout_entry knockout_entries[KNOCKOUT_ENTRIES]; -struct knockout_box knockout_boxes[KNOCKOUT_BOXES]; -int knockout_polygons[KNOCKOUT_POLYGONS]; -int knockout_entry_cur = 0; -int knockout_box_cur = 0; -int knockout_polygon_cur = 0; -struct knockout_box *knockout_list = NULL; - -struct plotter_table real_plot; - -int clip_x0_cur; -int clip_y0_cur; -int clip_x1_cur; -int clip_y1_cur; -int nested_depth = 0; - +static struct knockout_entry knockout_entries[KNOCKOUT_ENTRIES]; +static struct knockout_box knockout_boxes[KNOCKOUT_BOXES]; +static int knockout_polygons[KNOCKOUT_POLYGONS]; +static int knockout_entry_cur = 0; +static int knockout_box_cur = 0; +static int knockout_polygon_cur = 0; +static struct knockout_box *knockout_list = NULL; + +static struct plotter_table real_plot; + +static int clip_x0_cur; +static int clip_y0_cur; +static int clip_x1_cur; +static int clip_y1_cur; +static int nested_depth = 0; /** * Start a knockout plotting session -- cgit v1.2.3