Browse Source

beg nick for some documentation on the locking functions

svn:r17233
Roger Dingledine 15 years ago
parent
commit
c62d5f6a5c
2 changed files with 2 additions and 0 deletions
  1. 1 0
      src/common/compat.c
  2. 1 0
      src/or/main.c

+ 1 - 0
src/common/compat.c

@@ -481,6 +481,7 @@ struct tor_lockfile_t {
   int fd;
 };
 
+/** DOCDOC. What's this function do? */
 tor_lockfile_t *
 tor_lockfile_lock(const char *filename, int blocking, int *locked_out)
 {

+ 1 - 0
src/or/main.c

@@ -1861,6 +1861,7 @@ tor_init(int argc, char *argv[])
 
 static tor_lockfile_t *lockfile = NULL;
 
+/** DOCDOC. What's this function do? */
 int
 try_locking(or_options_t *options, int err_if_locked)
 {