Rename init_cap_file() to cap_file_init()
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>
Tue, 22 Sep 2009 16:53:11 +0000 (16:53 -0000)
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>
Tue, 22 Sep 2009 16:53:11 +0000 (16:53 -0000)
svn path=/trunk/; revision=30073

cfile.c
cfile.h
gtk/main.c
rawshark.c
tshark.c

diff --git a/cfile.c b/cfile.c
index 00498281e2bef230bbc3ec31e5eb89e125cb01d3..d7e53298bf8f61e304ef628c379beaba889e50e6 100644 (file)
--- a/cfile.c
+++ b/cfile.c
@@ -34,7 +34,7 @@
 #include "cfile.h"
 
 void
-init_cap_file(capture_file *cf)
+cap_file_init(capture_file *cf)
 {
   /* Initialize the capture file struct */
   cf->plist_start   = NULL;
diff --git a/cfile.h b/cfile.h
index 613bc47cb4bda976a118e8241d2e7ae7711a7611..eeb760519c5519d5d93e7ad9c005865d1f2e491d 100644 (file)
--- a/cfile.h
+++ b/cfile.h
@@ -93,7 +93,7 @@ typedef struct _capture_file {
   field_info  *finfo_selected; /* Field info for currently selected field */
 } capture_file;
 
-void init_cap_file(capture_file *cf);
+void cap_file_init(capture_file *cf);
 
 void cap_file_add_fdata(capture_file *cf, frame_data *fdata);
 
index 62b1f656e2e1f11d3cccfa95e69e18864f46339d..bbba12828f0921d0de3aa2177abcee3f583d750a 100644 (file)
@@ -2209,7 +2209,7 @@ main(int argc, char *argv[])
                  rf_path, strerror(rf_open_errno));
   }
 
-  init_cap_file(&cfile);
+  cap_file_init(&cfile);
 
   /* Fill in capture options with values from the preferences */
   prefs_to_capture_opts();
index c1f940a81e6d9ee9971d5c26a09b122be38df9fe..794e2a173a30cd1cf586dba6b1405185ccbf3bcc 100644 (file)
@@ -580,7 +580,7 @@ main(int argc, char *argv[])
   load_wpcap();
 #endif
 
-  init_cap_file(&cfile);
+  cap_file_init(&cfile);
 
   /* Print format defaults to this. */
   print_format = PR_FMT_TEXT;
index 83e7b41826fe8991f2755b6679a6a98f56256407..b43bdb7d67b0f673dd81e3c1c0b12c846a39c626 100644 (file)
--- a/tshark.c
+++ b/tshark.c
@@ -981,7 +981,7 @@ main(int argc, char *argv[])
 
   check_capture_privs();
 
-  init_cap_file(&cfile);
+  cap_file_init(&cfile);
 
   /* Print format defaults to this. */
   print_format = PR_FMT_TEXT;