]> git.tue.mpg.de Git - paraslash.git/commitdiff
doc: Add missing \ref in crypt.h.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 12 Mar 2020 14:32:20 +0000 (15:32 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 11 Jul 2020 17:26:31 +0000 (19:26 +0200)
This way, we get a warning when the name of the function changes but
the comment is left unmodified.

crypt.h

diff --git a/crypt.h b/crypt.h
index 01edb5e8a04928d0615d0435e5506b3f5ce2feb3..9623a0035a3b1a89818bd99c3c09c1dac041519b 100644 (file)
--- a/crypt.h
+++ b/crypt.h
@@ -158,7 +158,7 @@ _static_inline_ void sc_trafo(struct iovec *src, struct iovec *dst,
 /**
  * Deallocate a stream cipher structure.
  *
- * \param sc A stream cipher previously obtained by sc_new().
+ * \param sc A stream cipher previously obtained by \ref sc_new().
  */
 void sc_free(struct stream_cipher *sc);