summaryrefslogtreecommitdiff
path: root/wsutil/file_util.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-12-20 20:00:06 +0000
committerGuy Harris <guy@alum.mit.edu>2012-12-20 20:00:06 +0000
commit0ddce65214d2f162b389910d4cb74d664bed562d (patch)
tree1f15661af3e806e365a07d09cdc0592644dffae4 /wsutil/file_util.h
parent197ac6704ddbcebc42281ea421792b75ddda2f0d (diff)
downloadwireshark-0ddce65214d2f162b389910d4cb74d664bed562d.tar.gz
fclose() and fflush() are standard C routines, so there's no need for
our own wrappers. (pcapio.c isn't using wrappers around, for example, fwrite().) svn path=/trunk/; revision=46640
Diffstat (limited to 'wsutil/file_util.h')
-rw-r--r--wsutil/file_util.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/wsutil/file_util.h b/wsutil/file_util.h
index 09c5c64af9..4710aa6a15 100644
--- a/wsutil/file_util.h
+++ b/wsutil/file_util.h
@@ -95,8 +95,6 @@ extern FILE * ws_stdio_freopen (const gchar *filename, const gchar *mode, FILE *
#define ws_fstat64 _fstati64 /* use _fstati64 for 64-bit size support */
#define ws_lseek64 _lseeki64 /* use _lseeki64 for 64-bit offset support */
#define ws_fdopen _fdopen
-#define ws_fclose fclose
-#define ws_fflush fflush
/* DLL loading */
@@ -153,8 +151,6 @@ extern char *getenv_utf8(const char *varname);
#define ws_fstat64 fstat /* AC_SYS_LARGEFILE should make off_t 64-bit */
#define ws_lseek64 lseek /* AC_SYS_LARGEFILE should make off_t 64-bit */
#define ws_fdopen fdopen
-#define ws_fclose fclose
-#define ws_fflush fflush
#define O_BINARY 0 /* Win32 needs the O_BINARY flag for open() */
#endif /* _WIN32 */