Commit Graph

6 Commits

Author SHA1 Message Date
Guy Harris 3f0751dda7 The fopen() is used only if you build this as a stand-alone SHA-1 test
program, not as a library routine; just leave it as fopen(), to simplify
the build process.

svn path=/trunk/; revision=16540
2005-11-17 23:50:08 +00:00
Guy Harris 0af35b78dd Constify arguments.
svn path=/trunk/; revision=16533
2005-11-17 11:48:30 +00:00
Ulf Lamping c3187174bf replace *a lot* of file related calls by their GLib counterparts. This is necessary for the switch to GTK 2.6 (at least on WIN32).
to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place.

deleted related things from config.h.win32

As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon.

svn path=/trunk/; revision=16403
2005-11-06 22:43:25 +00:00
Ronnie Sahlberg 494c071cfb replace one ifdeffed out sprintf with g_snprintf() so that it doesnt show up in a 'grep sprintf *.c' any more
svn path=/trunk/; revision=15650
2005-09-01 08:39:52 +00:00
Jörg Mayer efdd4601ce Fix more "no previous declaration" warnings
svn path=/trunk/; revision=15171
2005-08-02 04:34:35 +00:00
Guy Harris 3ae3e70070 Move the SHA-1 code and header into epan, and give them RCS IDs.
svn path=/trunk/; revision=12125
2004-09-28 23:20:14 +00:00