diff options
author | Havoc Pennington <hp@redhat.com> | 2003-02-19 03:53:24 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-02-19 03:53:24 +0000 |
commit | c21511c01ab56d75f3aa4643761e9fd096a7f8be (patch) | |
tree | 7a0542dd8d02b8fd8e98e42409b1bf42564d32c0 /dbus/dbus-md5.c | |
parent | 78e16e99e753175fa49e787eab256932eefaa03f (diff) |
2003-02-19 Havoc Pennington <hp@pobox.com>
Throughout: mop up all the Doxygen warnings and undocumented
stuff.
* dbus/dbus-sysdeps.c (do_exec): do not use execvp, we don't want
to search any paths.
* dbus/dbus-threads.c: move global mutex initializers to
dbus-internals.h, multiple prototypes was confusing doxygen
besides being kind of ugly
* Doxyfile (PREDEFINED): have Doxygen define
DOXYGEN_SHOULD_SKIP_THIS so we can exclude things from
docs with #ifndef DOXYGEN_SHOULD_SKIP_THIS
(do not abuse the feature! it's for stuff like the autogenerated
macros in dbus-md5.c, not just for things you don't feel like
documenting...)
Diffstat (limited to 'dbus/dbus-md5.c')
-rw-r--r-- | dbus/dbus-md5.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dbus/dbus-md5.c b/dbus/dbus-md5.c index 44b92af4..dce18f89 100644 --- a/dbus/dbus-md5.c +++ b/dbus/dbus-md5.c @@ -59,13 +59,13 @@ * * @{ */ +#ifndef DOXYGEN_SHOULD_SKIP_THIS /* * For reference, here is the program that computed the T values. */ #ifdef COMPUTE_T_VALUES #include <math.h> -/* static main is a hack so doxygen won't pick it up */ -static int +int main(int argc, char **argv) { int i; @@ -157,6 +157,7 @@ main(int argc, char **argv) #define T62 /* 0xbd3af235 */ (T_MASK ^ 0x42c50dca) #define T63 0x2ad7d2bb #define T64 /* 0xeb86d391 */ (T_MASK ^ 0x14792c6e) +#endif /* DOXYGEN_SHOULD_SKIP_THIS */ static void md5_process(DBusMD5Context *context, const unsigned char *data /*[64]*/) |