diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-16 20:39:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-16 20:39:37 +0000 |
commit | d2893398f6c98f4ad82f05c41fb9ca40c5020015 (patch) | |
tree | 1600a6f6ab31cff26dd6a3c4710a3fd1cd5e530f /src/common/util.c | |
parent | a3ec172e1ac0e1ae2b2a09c05edb4e7f2fef4a1e (diff) | |
download | tor-d2893398f6c98f4ad82f05c41fb9ca40c5020015.tar tor-d2893398f6c98f4ad82f05c41fb9ca40c5020015.tar.gz |
r11832@catbus: nickm | 2007-02-16 15:31:59 -0500
Fix 35 remaining DOCDOC comments. Yowza.
svn:r9596
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/common/util.c b/src/common/util.c index 11174e46d..a2e10b77a 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -862,9 +862,9 @@ tv_addms(struct timeval *a, long ms) a->tv_usec %= 1000000; } -/** DOCDOC */ +/** Yield true iff <b>y</b> is a leap-year */ #define IS_LEAPYEAR(y) (!(y % 4) && ((y % 100) || !(y % 400))) -/** DOCDOC */ +/** Helper: Return the number of leap-days between Jan 1, y1 and Jan 1, y2. */ static int n_leapdays(int y1, int y2) { @@ -1957,11 +1957,12 @@ get_interface_address(int severity, uint32_t *addr) #ifndef MS_WINDOWS /* Based on code contributed by christian grothoff */ -/** DOCDOC */ +/** True iff we've called start_daemon. */ static int start_daemon_called = 0; -/** DOCDOC */ +/** True iff we've called finish_daemon. */ static int finish_daemon_called = 0; -/** DOCDOC */ +/** Socketpair used to communicate between parent and child process while + * daemonizing. */ static int daemon_filedes[2]; /** Start putting the process into daemon mode: fork and drop all resources * except standard fds. The parent process never returns, but stays around |