[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (5f85e6ed6482acdeb18de22bbdacdc33e635f86f)



The branch, master has been updated
       via  5f85e6ed6482acdeb18de22bbdacdc33e635f86f (commit)
      from  b0c2ec627318a042400ca4e089ff9ed638a3cccd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/remove.c |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)


=================
 Commit Messages
=================

commit 5f85e6ed6482acdeb18de22bbdacdc33e635f86f
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    remove.c: Gratuitous cosmetic changes
    
    s/return (NULL)/return NULL/
    
    Split from another patch where I just couldn't resist some tidying.

:100644 100644 ab9aa5c... a0fcce8... M	src/remove.c

=========
 Changes
=========

commit 5f85e6ed6482acdeb18de22bbdacdc33e635f86f
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    remove.c: Gratuitous cosmetic changes
    
    s/return (NULL)/return NULL/
    
    Split from another patch where I just couldn't resist some tidying.

diff --git a/src/remove.c b/src/remove.c
index ab9aa5c..a0fcce8 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -139,7 +139,7 @@ DestroyVia (PinTypePtr Via)
 		    (BoxType *) Via);
     }
   memset (&DestroyTarget->Via[DestroyTarget->ViaN], 0, sizeof (PinType));
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -158,7 +158,7 @@ DestroyLine (LayerTypePtr Layer, LineTypePtr Line)
 		    (BoxType *) Line);
     }
   memset (&Layer->Line[Layer->LineN], 0, sizeof (LineType));
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -175,7 +175,7 @@ DestroyArc (LayerTypePtr Layer, ArcTypePtr Arc)
 		    (BoxType *) Arc);
     }
   memset (&Layer->Arc[Layer->ArcN], 0, sizeof (ArcType));
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -194,7 +194,7 @@ DestroyPolygon (LayerTypePtr Layer, PolygonTypePtr Polygon)
 		    (BoxType *) Polygon);
     }
   memset (&Layer->Polygon[Layer->PolygonN], 0, sizeof (PolygonType));
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -252,7 +252,7 @@ DestroyText (LayerTypePtr Layer, TextTypePtr Text)
 		    (BoxType *) Text);
     }
   memset (&Layer->Text[Layer->TextN], 0, sizeof (TextType));
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -316,7 +316,7 @@ DestroyElement (ElementTypePtr Element)
   END_LOOP;
   memset (&DestroyTarget->Element[DestroyTarget->ElementN], 0,
 	  sizeof (ElementType));
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -335,7 +335,7 @@ DestroyRat (RatTypePtr Rat)
 		    &Rat->BoundingBox);
     }
   memset (&DestroyTarget->Rat[DestroyTarget->RatN], 0, sizeof (RatType));
-  return (NULL);
+  return NULL;
 }
 
 
@@ -353,7 +353,7 @@ RemoveVia (PinTypePtr Via)
 	Draw ();
     }
   MoveObjectToRemoveUndoList (VIA_TYPE, Via, Via, Via);
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -370,7 +370,7 @@ RemoveRat (RatTypePtr Rat)
 	Draw ();
     }
   MoveObjectToRemoveUndoList (RATLINE_TYPE, Rat, Rat, Rat);
-  return (NULL);
+  return NULL;
 }
 
 struct rlp_info
@@ -443,7 +443,7 @@ RemoveLine (LayerTypePtr Layer, LineTypePtr Line)
 	Draw ();
     }
   MoveObjectToRemoveUndoList (LINE_TYPE, Layer, Line, Line);
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -460,7 +460,7 @@ RemoveArc (LayerTypePtr Layer, ArcTypePtr Arc)
 	Draw ();
     }
   MoveObjectToRemoveUndoList (ARC_TYPE, Layer, Arc, Arc);
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -477,7 +477,7 @@ RemoveText (LayerTypePtr Layer, TextTypePtr Text)
 	Draw ();
     }
   MoveObjectToRemoveUndoList (TEXT_TYPE, Layer, Text, Text);
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -494,7 +494,7 @@ RemovePolygon (LayerTypePtr Layer, PolygonTypePtr Polygon)
 	Draw ();
     }
   MoveObjectToRemoveUndoList (POLYGON_TYPE, Layer, Polygon, Polygon);
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -599,7 +599,7 @@ RemovePolygonPoint (LayerTypePtr Layer,
       if (!Bulk)
 	Draw ();
     }
-  return (NULL);
+  return NULL;
 }
 
 /* ---------------------------------------------------------------------------
@@ -617,7 +617,7 @@ RemoveElement (ElementTypePtr Element)
 	Draw ();
     }
   MoveObjectToRemoveUndoList (ELEMENT_TYPE, Element, Element, Element);
-  return (NULL);
+  return NULL;
 }
 
 /* ----------------------------------------------------------------------




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs