#! /bin/sh /usr/share/dpatch/dpatch-run
## 31_gcc_4_1.dpatch by Otavio Salvador <otavio@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
--- a/src/sd/dv/relationshipnode.h
+++ b/src/sd/dv/relationshipnode.h
@@ -26,6 +26,9 @@
 class ERGraph;
 
 /// relationship (ER) node class.
+
+int CompareComponent(string *c1, string *c2);
+
 class RelationshipNode: public Node {
 /*@Doc: {\large {\bf scope:} TERD} */
 public:
--- a/src/sd/dv/sqobjectnode.h
+++ b/src/sd/dv/sqobjectnode.h
@@ -28,6 +28,9 @@
 class SQGraph;
 
 /// object class (TSQD) node class.
+
+int CompareAnchor(Point *p1, Point *p2);
+
 class SQObjectNode: public Node {
 /*@Doc: {\large {\bf scope:} TSQD} */
 public:
--- a/src/sd/bv/adsactivity.h
+++ b/src/sd/bv/adsactivity.h
@@ -23,7 +23,7 @@
 
 #include "llist.h"
 #include "lstring.h"
-;
+
 class ADSVar;
 class OutputFile;
 
--- a/src/sd/bv/bvinstances.h
+++ b/src/sd/bv/bvinstances.h
@@ -49,7 +49,7 @@ template class List<Transition *>;
 #include "../sd/bv/scdtransitionedge.h"
 
 template class List<SCNode *>;
-template class List <SCDTransitionEdge *>
+template class List <SCDTransitionEdge *>;
 
 
 #ifdef MODELCHECK
--- a/src/sd/bv/adshyperedge.c
+++ b/src/sd/bv/adshyperedge.c
@@ -33,7 +33,7 @@ ADSHyperEdge::ADSHyperEdge(ADSHyperGraph
   cc=NULL;
   edgelist.add(e);
   sendevent=NULL;
-};
+}
 
 bool ADSHyperEdge::AddProp(Prop *p){
   for (propl.first();!propl.done();propl.next()){
--- a/src/tb/cellcolumn.h
+++ b/src/tb/cellcolumn.h
@@ -26,6 +26,9 @@
 #include "tableviewer.h"
 
 /// (table) column class.
+
+int Compare(CellColumn *c1, CellColumn *c2);
+
 class CellColumn: public CellVector {	
 /*@Doc: {\large {\bf scope:} table} */
 public:
--- a/src/tb/cellrow.h
+++ b/src/tb/cellrow.h
@@ -26,6 +26,9 @@
 #include "tableviewer.h"
 
 /// (table) row class.
+
+int Compare(CellRow *r1, CellRow *r2);
+
 class CellRow: public CellVector {
 /*@Doc: {\large {\bf scope:} table} */
 public:
--- a/src/tb/celltext.h
+++ b/src/tb/celltext.h
@@ -31,6 +31,10 @@ class InputFile;
 class OutputFile;
 
 /// cell text class.
+
+class CellText;
+int Compare(CellText *r1, CellText *r2);
+
 class CellText: public SimpleLabel {
 /*@Doc: {\large {\bf scope:} table} */
 public:
--- a/src/tb/cellvector.h
+++ b/src/tb/cellvector.h
@@ -34,6 +34,10 @@ class InputFile;
 class OutputFile;
 
 /// abstract base class of table rows and columns.
+
+class CellVector;
+int Compare(CellVector *c1, CellVector *c2);
+
 class CellVector {
 /*@Doc: {\large {\bf scope:} table} */
 public:
