Fixed forward references so that the compiler is quite.
authorRod Grimes <rgrimes@FreeBSD.org>
Thu, 9 Sep 1993 23:20:23 +0000 (23:20 +0000)
committerRod Grimes <rgrimes@FreeBSD.org>
Thu, 9 Sep 1993 23:20:23 +0000 (23:20 +0000)
sys/netccitt/hd_input.c
sys/netccitt/pk_usrreq.c

index 01d22c7..48adb70 100644 (file)
@@ -35,7 +35,8 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     @(#)hd_input.c  7.7 (Berkeley) 5/29/91
+ *     From:   @(#)hd_input.c  7.7 (Berkeley) 5/29/91
+ *     $Id$
  */
 
 #include "param.h"
  */
 
 #include "param.h"
 #include "hd_var.h"
 #include "x25.h"
 
 #include "hd_var.h"
 #include "x25.h"
 
+/*
+ * forward references
+ */
+static
+frame_reject (struct hdcb *hdp, int rejectcode, struct Hdlc_iframe *frame);
+
+static
+rej_routine (struct hdcb *hdp, int rejnr);
+
+static
+free_iframes (struct hdcb *hdp, int *nr, int finalbit);
+
 /*
  *      HDLC INPUT INTERFACE
  *
 /*
  *      HDLC INPUT INTERFACE
  *
@@ -444,6 +457,7 @@ int     rear,
 static
 frame_reject (hdp, rejectcode, frame)
 struct hdcb *hdp;
 static
 frame_reject (hdp, rejectcode, frame)
 struct hdcb *hdp;
+int rejectcode;
 struct Hdlc_iframe *frame;
 {
        register struct Frmr_frame *frmr = &hd_frmr;
 struct Hdlc_iframe *frame;
 {
        register struct Frmr_frame *frmr = &hd_frmr;
index 7bfcd0a..b705b74 100644 (file)
 #include "pk.h"
 #include "pk_var.h"
 
 #include "pk.h"
 #include "pk_var.h"
 
+/*
+ * forward references
+ */
+
+static
+old_to_new (struct mbuf *m);
+
+static
+new_to_old (struct mbuf *m);
+
 /*
  * 
  *  X.25 Packet level protocol interface to socket abstraction.
 /*
  * 
  *  X.25 Packet level protocol interface to socket abstraction.