From c21511c01ab56d75f3aa4643761e9fd096a7f8be Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Wed, 19 Feb 2003 03:53:24 +0000 Subject: 2003-02-19 Havoc Pennington 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...) --- dbus/dbus-md5.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dbus/dbus-md5.c') 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 -/* 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]*/) -- cgit