Cleanup rcsids
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 6 Oct 2009 15:07:52 +0000 (15:07 +0000)
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 6 Oct 2009 15:07:52 +0000 (15:07 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30369 f5534014-38df-0310-8fa8-9805f1628bb7

epan/except.c
inet_ntop.c
inet_pton.c

index 83d8b9584649551a42790a812a9e77b5ffda8759..eea81d3a019fecac366579db450b8e3470687958 100644 (file)
@@ -2,6 +2,8 @@
  * Portable Exception Handling for ANSI C.
  * Copyright (C) 1999 Kaz Kylheku <kaz@ashi.footprints.net>
  *
+ * $Id$
+ *
  * Free Software License:
  *
  * All rights are reserved by the author, with the following exceptions:
@@ -13,8 +15,6 @@
  * This source code may be translated into executable form and incorporated
  * into proprietary software; there is no requirement for such software to
  * contain a copyright notice related to this source.
- * $Id$
- * $Name:  $
  */
 
 /*
 
 #define XCEPT_BUFFER_SIZE      1024
 
-#ifdef KAZLIB_RCSID
-static const char rcsid[] = "$Id$";
-#endif
-
 #ifdef KAZLIB_POSIX_THREADS
 
 #include <pthread.h>
@@ -139,13 +135,13 @@ void except_deinit(void)
 static int init_counter;
 static void unhandled_catcher(except_t *);
 static void (*uh_catcher_ptr)(except_t *) = unhandled_catcher;
-/* We need this 'size_t' cast due to a glitch in GLib where g_malloc was prototyped 
- * as 'gpointer g_malloc (gulong n_bytes)'. This was later fixed to the correct prototype 
- * 'gpointer g_malloc (gsize n_bytes)'. In Wireshark we use the latter prototype 
- * throughout the code. We can get away with this even with older versions of GLib by 
- * adding a '(void *(*)(size_t))' cast whenever we refer to g_malloc. The only platform 
- * supported by Wireshark where this isn't safe (sizeof size_t != sizeof gulong) is Win64. 
- * However, we _always_ bundle the newest version of GLib on this platform so 
+/* We need this 'size_t' cast due to a glitch in GLib where g_malloc was prototyped
+ * as 'gpointer g_malloc (gulong n_bytes)'. This was later fixed to the correct prototype
+ * 'gpointer g_malloc (gsize n_bytes)'. In Wireshark we use the latter prototype
+ * throughout the code. We can get away with this even with older versions of GLib by
+ * adding a '(void *(*)(size_t))' cast whenever we refer to g_malloc. The only platform
+ * supported by Wireshark where this isn't safe (sizeof size_t != sizeof gulong) is Win64.
+ * However, we _always_ bundle the newest version of GLib on this platform so
  * the size_t issue doesn't exists here. Pheew.. */
 static void *(*allocator)(size_t) = (void *(*)(size_t)) g_malloc;
 static void (*deallocator)(void *) = g_free;
@@ -178,9 +174,9 @@ void except_deinit(void)
 
 static int match(const volatile except_id_t *thrown, const except_id_t *caught)
 {
-    int group_match = (caught->except_group == XCEPT_GROUP_ANY || 
+    int group_match = (caught->except_group == XCEPT_GROUP_ANY ||
        caught->except_group == thrown->except_group);
-    int code_match = (caught->except_code == XCEPT_CODE_ANY || 
+    int code_match = (caught->except_code == XCEPT_CODE_ANY ||
        caught->except_code == thrown->except_code);
 
     return group_match && code_match;
@@ -190,7 +186,7 @@ G_GNUC_NORETURN static void do_throw(except_t *except)
 {
     struct except_stacknode *top;
 
-    assert (except->except_id.except_group != 0 && 
+    assert (except->except_id.except_group != 0 &&
        except->except_id.except_code != 0);
 
     for (top = get_top(); top != 0; top = top->except_down) {
index f1b4e49433bfca970cfd2de1c81cd318fb700315..ab93d69096a1ba0e8e9ff6a0994b2cd297a7c79f 100644 (file)
 #include "config.h"
 #endif
 
-#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$Id$";
-#endif /* LIBC_SCCS and not lint */
-
 #ifdef HAVE_SYS_PARAM_H
 #include <sys/param.h>
 #endif
index 6fd6f748b0a1d0c6d84e9397e864a1d5c2d11607..7d9e73a6c2338b1340e05cf97a891b8f1da51d70 100644 (file)
@@ -1,6 +1,8 @@
 /*
  * Copyright (c) 1996,1999 by Internet Software Consortium.
  *
+ * $Id$
+ *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
 #include "config.h"
 #endif
 
-#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$Id$";
-#endif /* LIBC_SCCS and not lint */
-
 #ifdef HAVE_SYS_PARAM_H
 #include <sys/param.h>
 #endif