Index: trunk/src/action_helper.c =================================================================== --- trunk/src/action_helper.c (revision 13314) +++ trunk/src/action_helper.c (revision 13315) @@ -138,9 +138,6 @@ %end-doc */ -/* --------------------------------------------------------------------------- - * some local identifiers - */ int defer_updates = 0; int defer_needs_update = 0; Index: trunk/src/buffer.c =================================================================== --- trunk/src/buffer.c (revision 13314) +++ trunk/src/buffer.c (revision 13315) @@ -51,9 +51,6 @@ #include "event.h" #include "safe_fs.h" -/* --------------------------------------------------------------------------- - * some local identifiers - */ static pcb_opfunc_t AddBufferFunctions = { pcb_lineop_add_to_buffer, pcb_textop_add_to_buffer, Index: trunk/src/change.c =================================================================== --- trunk/src/change.c (revision 13314) +++ trunk/src/change.c (revision 13315) @@ -44,9 +44,6 @@ #include "obj_subc_parent.h" #include "obj_term.h" -/* --------------------------------------------------------------------------- - * some local identifiers - */ pcb_opfunc_t ChangeSizeFunctions = { pcb_lineop_change_size, pcb_textop_change_size, Index: trunk/src/copy.c =================================================================== --- trunk/src/copy.c (revision 13314) +++ trunk/src/copy.c (revision 13315) @@ -40,9 +40,6 @@ #include "obj_all_op.h" #include "obj_pstk_op.h" -/* --------------------------------------------------------------------------- - * some local identifiers - */ static pcb_opfunc_t CopyFunctions = { pcb_lineop_copy, pcb_textop_copy, Index: trunk/src/crosshair.c =================================================================== --- trunk/src/crosshair.c (revision 13314) +++ trunk/src/crosshair.c (revision 13315) @@ -63,9 +63,6 @@ pcb_mark_t pcb_marked; /* a cross-hair mark */ -/* --------------------------------------------------------------------------- - * some local prototypes - */ static void XORDrawElement(pcb_element_t *, pcb_coord_t, pcb_coord_t); static void XORDrawPadDRCOutline(pcb_pad_t * pv,pcb_coord_t clearance); Index: trunk/src/draw.c =================================================================== --- trunk/src/draw.c (revision 13314) +++ trunk/src/draw.c (revision 13315) @@ -62,10 +62,6 @@ pcb_output_t pcb_draw_out; /* global context used for drawing */ -/* --------------------------------------------------------------------------- - * some local identifiers - */ - pcb_box_t pcb_draw_invalidated = { COORD_MAX, COORD_MAX, -COORD_MAX, -COORD_MAX }; int pcb_draw_doing_pinout = 0; @@ -73,9 +69,6 @@ static vtp0_t delayed_labels; pcb_bool delayed_labels_enabled = pcb_false; -/* --------------------------------------------------------------------------- - * some local prototypes - */ static void DrawEverything(const pcb_box_t *); static void DrawLayerGroup(int, const pcb_box_t *, int); static void pcb_draw_obj_label(pcb_any_obj_t *obj); Index: trunk/src/find.c =================================================================== --- trunk/src/find.c (revision 13314) +++ trunk/src/find.c (revision 13315) @@ -83,10 +83,6 @@ #undef DEBUG -/* --------------------------------------------------------------------------- - * some local macros - */ - #define SEPARATE(FP) \ { \ int i; \ @@ -118,8 +114,6 @@ (((pcb_pstk_t **)PadstackList.Data)[(I)]) /* --------------------------------------------------------------------------- - * some local types - * * the two 'dummy' structs for PVs and Pads are necessary for creating * connection lists which include the element's name */ @@ -130,9 +124,6 @@ Size; } ListType, *ListTypePtr; -/* --------------------------------------------------------------------------- - * some local identifiers - */ static pcb_coord_t Bloat = 0; static int TheFlag = PCB_FLAG_FOUND; static int OldFlag = PCB_FLAG_FOUND; @@ -154,9 +145,6 @@ PolygonList[PCB_MAX_LAYER+2], ArcList[PCB_MAX_LAYER+2], PadList[2], RatList, PVList, PadstackList; -/* --------------------------------------------------------------------------- - * some local prototypes - */ static pcb_bool LookupLOConnectionsToPVList(pcb_bool); static pcb_bool LookupLOConnectionsToPSList(pcb_bool); static pcb_bool LookupLOConnectionsToLOList(pcb_bool); Index: trunk/src/find.h =================================================================== --- trunk/src/find.h (revision 13314) +++ trunk/src/find.h (revision 13315) @@ -51,9 +51,6 @@ */ extern pcb_find_callback_t pcb_find_callback; -/* --------------------------------------------------------------------------- - * some local defines - */ #define PCB_LOOKUP_FIRST \ (PCB_TYPE_PIN | PCB_TYPE_PAD | PCB_TYPE_PSTK) #define PCB_LOOKUP_MORE \ Index: trunk/src/heap.c =================================================================== --- trunk/src/heap.c (revision 13314) +++ trunk/src/heap.c (revision 13315) @@ -39,13 +39,6 @@ /* define this for more thorough self-checking of data structures */ #undef SLOW_ASSERTIONS -/* --------------------------------------------------------------------------- - * some local prototypes - */ - -/* --------------------------------------------------------------------------- - * some local types - */ struct heap_element { pcb_cost_t cost; void *data; @@ -55,9 +48,6 @@ int size, max; }; -/* --------------------------------------------------------------------------- - * some local identifiers - */ static pcb_cost_t MIN_COST = 0; /* --------------------------------------------------------------------------- Index: trunk/src/insert.c =================================================================== --- trunk/src/insert.c (revision 13314) +++ trunk/src/insert.c (revision 13315) @@ -41,9 +41,6 @@ #include "obj_rat_op.h" #include "obj_poly_op.h" -/* --------------------------------------------------------------------------- - * some local identifiers - */ static pcb_opfunc_t InsertFunctions = { pcb_lineop_insert_point, NULL, Index: trunk/src/intersect.c =================================================================== --- trunk/src/intersect.c (revision 13314) +++ trunk/src/intersect.c (revision 13315) @@ -37,17 +37,11 @@ #include "intersect.h" #include "box.h" -/* --------------------------------------------------------------------------- - * some local prototypes - */ static int compareleft(const void *ptr1, const void *ptr2); static int compareright(const void *ptr1, const void *ptr2); static int comparepos(const void *ptr1, const void *ptr2); static int nextpwrof2(int i); -/* --------------------------------------------------------------------------- - * some local types - */ typedef struct { pcb_coord_t left, right; int covered; Index: trunk/src/move.c =================================================================== --- trunk/src/move.c (revision 13314) +++ trunk/src/move.c (revision 13315) @@ -46,9 +46,6 @@ #include "obj_all_op.h" #include "obj_pstk_op.h" -/* --------------------------------------------------------------------------- - * some local identifiers - */ pcb_opfunc_t MoveFunctions = { pcb_lineop_move, pcb_textop_move, Index: trunk/src/rats.c =================================================================== --- trunk/src/rats.c (revision 13314) +++ trunk/src/rats.c (revision 13315) @@ -66,9 +66,6 @@ static pcb_bool CheckShorts(pcb_lib_menu_t *); static void TransferNet(pcb_netlist_t *, pcb_net_t *, pcb_net_t *); -/* --------------------------------------------------------------------------- - * some local identifiers - */ static pcb_bool badnet = pcb_false; static pcb_layergrp_id_t Sgrp = -1, Cgrp = -1; /* layer group holding solder/component side */ Index: trunk/src/remove.c =================================================================== --- trunk/src/remove.c (revision 13314) +++ trunk/src/remove.c (revision 13315) @@ -37,9 +37,6 @@ #include "obj_all_op.h" #include "obj_pstk_op.h" -/* --------------------------------------------------------------------------- - * some local types - */ static pcb_opfunc_t RemoveFunctions = { pcb_lineop_remove, pcb_textop_remove, Index: trunk/src/rotate.c =================================================================== --- trunk/src/rotate.c (revision 13314) +++ trunk/src/rotate.c (revision 13315) @@ -50,9 +50,6 @@ #include "obj_line_draw.h" #include "obj_rat_draw.h" -/* ---------------------------------------------------------------------- - * some local identifiers - */ pcb_opfunc_t Rotate90Functions = { pcb_lineop_rotate90, pcb_textop_rotate90, Index: trunk/src/search.c =================================================================== --- trunk/src/search.c (revision 13314) +++ trunk/src/search.c (revision 13315) @@ -42,9 +42,6 @@ #include "search.h" #include "obj_subc_parent.h" -/* --------------------------------------------------------------------------- - * some local identifiers - */ static double PosX, PosY; /* search position for subroutines */ static pcb_coord_t SearchRadius; static pcb_box_t SearchBox; @@ -51,7 +48,7 @@ static pcb_layer_t *SearchLayer; /* --------------------------------------------------------------------------- - * some local prototypes. The first parameter includes PCB_TYPE_LOCKED if we + * The first parameter includes PCB_TYPE_LOCKED if we * want to include locked object in the search and PCB_TYPE_SUBC_PART if * objects that are part of a subcircuit should be found. */ Index: trunk/src/undo_old.c =================================================================== --- trunk/src/undo_old.c (revision 13314) +++ trunk/src/undo_old.c (revision 13315) @@ -72,9 +72,6 @@ #include "undo_old_str.h" -/* --------------------------------------------------------------------------- - * some local prototypes - */ static pcb_bool UndoRotate90(UndoListTypePtr); static pcb_bool UndoRotate(UndoListTypePtr); static pcb_bool UndoChangeName(UndoListTypePtr);