aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ospf.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-04-14 23:04:04 +0000
committerGuy Harris <guy@alum.mit.edu>2002-04-14 23:04:04 +0000
commitdb319329411e4b1db7e19e8cc5eb518525d107ad (patch)
treedddb463b1b5567290a52f49b6534d5a6f4015fde /packet-ospf.c
parent46a89d60f56997c8b859d67cd7f6b4442211f871 (diff)
From Joerg Mayer:
Declares some variables static. Creates a new include file packet-rsvp.h, and make use of it (change some extern decls to #inlcude). Move the file packet-pgm.h into packet-pgm.c as it is not used by anything outside packet-pgm.c. svn path=/trunk/; revision=5162
Diffstat (limited to 'packet-ospf.c')
-rw-r--r--packet-ospf.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/packet-ospf.c b/packet-ospf.c
index 3b7c912ed2..bb732a2c90 100644
--- a/packet-ospf.c
+++ b/packet-ospf.c
@@ -2,7 +2,7 @@
* Routines for OSPF packet disassembly
* (c) Copyright Hannes R. Boehm <hannes@boehm.org>
*
- * $Id: packet-ospf.c,v 1.58 2002/02/19 21:56:56 ashokn Exp $
+ * $Id: packet-ospf.c,v 1.59 2002/04/14 23:04:03 guy Exp $
*
* At this time, this module is able to analyze OSPF
* packets as specified in RFC2328. MOSPF (RFC1584) and other
@@ -52,6 +52,7 @@
#include "ipproto.h"
#include "in_cksum.h"
#include "ieee-float.h"
+#include "packet-rsvp.h"
#define OSPF_VERSION_2 2
#define OSPF_VERSION_3 3
@@ -761,12 +762,6 @@ static const value_string mpls_link_stlv_str[] = {
{0, NULL},
};
-/*
- * From packet-rsvp.c
- */
-extern const value_string gmpls_lsp_enc_str[];
-extern const value_string gmpls_switching_type_str[];
-
/*
* Dissect MPLS/TE opaque LSA
*/
@@ -981,7 +976,7 @@ dissect_ospf_lsa_mpls(tvbuff_t *tvb, int offset, proto_tree *tree,
/*
* Dissect opaque LSAs
*/
-void
+static void
dissect_ospf_lsa_opaque(tvbuff_t *tvb, int offset, proto_tree *tree,
guint8 ls_id_type, guint32 length)
{