aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-08-09 06:18:16 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-08-09 06:18:16 +0000
commitfac3eec39a80de59af4cd91056e979f06a76f340 (patch)
tree25faad1ea825a37c1e236460eba583a035042a41 /file.c
parent5e751be7642e84907733022fc3ae2efd4a0f05f8 (diff)
downloadwireshark-fac3eec39a80de59af4cd91056e979f06a76f340.tar.gz
wireshark-fac3eec39a80de59af4cd91056e979f06a76f340.tar.bz2
wireshark-fac3eec39a80de59af4cd91056e979f06a76f340.zip
Make copy_binary_file() static since follow_dlg.c no longer uses it.
svn path=/trunk/; revision=2237
Diffstat (limited to 'file.c')
-rw-r--r--file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/file.c b/file.c
index b71c1c968a..f29a181f0c 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.203 2000/08/03 12:44:18 gram Exp $
+ * $Id: file.c,v 1.204 2000/08/09 06:18:10 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -105,6 +105,7 @@ static void thaw_clist(capture_file *cf);
static char *file_rename_error_message(int err);
static char *file_close_error_message(int err);
+static gboolean copy_binary_file(char *from_filename, char *to_filename);
/* Update the progress bar this many times when reading a file. */
#define N_PROGBAR_UPDATES 100
@@ -1954,7 +1955,7 @@ file_close_error_message(int err)
* Returns TRUE on success, FALSE on failure. If a failure, it also
* displays a simple dialog window with the error message.
*/
-gboolean
+static gboolean
copy_binary_file(char *from_filename, char *to_filename)
{
int from_fd, to_fd, nread, nwritten, err;