Some source code clean up.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 14 Dec 2006 07:54:55 +0000 (07:54 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 14 Dec 2006 07:54:55 +0000 (07:54 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20135 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-cdp.c

index 6c4ce5f88e840822dc7ac74f4483663f15785a51..f57ef2616d2a682a4c25937ec715b9d442552f7f 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
 
 #include <stdlib.h>
 #include <string.h>
@@ -127,14 +129,14 @@ static const value_string type_vals[] = {
        { TYPE_SYSTEM_OID,      "System Object ID" },
        { TYPE_MANAGEMENT_ADDR, "Management Address" },
        { TYPE_LOCATION,        "Location" },
-       { 0,                    NULL },
+       { 0,                    NULL }
 };
 
 #define TYPE_HELLO_CLUSTER_MGMT    0x0112
 
 static const value_string type_hello_vals[] = {
         { TYPE_HELLO_CLUSTER_MGMT,   "Cluster Management" },
-       { 0,                    NULL },
+       { 0,                    NULL }
 };
 
 static void
@@ -737,7 +739,7 @@ dissect_cdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 static const value_string proto_type_vals[] = {
        { PROTO_TYPE_NLPID,      "NLPID" },
        { PROTO_TYPE_IEEE_802_2, "802.2" },
-       { 0,                     NULL },
+       { 0,                     NULL }
 };
 
 static int
@@ -940,7 +942,7 @@ proto_register_cdp(void)
 
        { &hf_cdp_tlvlength,
        { "Length",             "cdp.tlv.len", FT_UINT16, BASE_DEC, NULL, 0x0,
-         "", HFILL }},
+         "", HFILL }}
     };
     static gint *ett[] = {
        &ett_cdp,