Fix a few minor memory leaks...
[obnox/wireshark/wip.git] / capture_errs.h
index 6b782ee4af08e8e9edaf9f114256e678bd4231bd..80c4c2c5aa9092f16d0ebb138de104192444c0e5 100644 (file)
@@ -4,8 +4,8 @@
  *
  * $Id$
  *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  * This program is free software; you can redistribute it and/or
@@ -26,7 +26,9 @@
 #ifdef HAVE_LIBPCAP
 
 #ifdef _WIN32
-extern char *cant_load_winpcap_err(void);
+/* error message, if WinPcap couldn't be loaded */
+/* will use g_strdup, don't forget to g_free the returned string! */
+extern char *cant_load_winpcap_err(const char *app_name);
 #endif /* _WIN32 */
 
 #endif /* HAVE_LIBPCAP */