aboutsummaryrefslogtreecommitdiff
path: root/src/lib/version/version.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-26 11:13:29 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-26 11:13:29 -0400
commit39d09ea0810f74a7666d9d694903780a14b48ca2 (patch)
treee001b17f1d896520a21bf0a21e4b44433c5d5e6a /src/lib/version/version.c
parente7993dc046a099075bc5f9f65a7bb1601686d03c (diff)
downloadtor-39d09ea0810f74a7666d9d694903780a14b48ca2.tar.gz
tor-39d09ea0810f74a7666d9d694903780a14b48ca2.zip
doxygen: add @file declarations for src/lib
If a file doesn't use the file command (either \file or @file), Doxygen won't try to process it. These declarations also turned up a doxygen warning for crypto_ope.c; I fixed that too.
Diffstat (limited to 'src/lib/version/version.c')
-rw-r--r--src/lib/version/version.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/version/version.c b/src/lib/version/version.c
index 434e6fb424..b2f25e97b5 100644
--- a/src/lib/version/version.c
+++ b/src/lib/version/version.c
@@ -10,6 +10,11 @@
#include <stdio.h>
#include <string.h>
+/**
+ * @file version.c
+ * @brief Functions to get the version of Tor.
+ **/
+
/** A shorter version of this Tor process's version, for export in our router
* descriptor. (Does not include the git version, if any.) */
static const char the_short_tor_version[] =