From 008600cf7d4632b791fea6a89153a80a80c28af3 Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Mon, 22 Jan 2018 12:59:47 +0000
Subject: [PATCH] Documentation fixes

---
 src/cooling.c   | 4 ++--
 src/parser.c    | 4 ++--
 src/potential.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/cooling.c b/src/cooling.c
index 2db367031a..bd60510c98 100644
--- a/src/cooling.c
+++ b/src/cooling.c
@@ -57,7 +57,7 @@ void cooling_print(const struct cooling_function_data* cooling) {
 /**
  * @brief Write a hydro_props struct to the given FILE as a stream of bytes.
  *
- * @param p the struct
+ * @param cooling the struct
  * @param stream the file stream
  */
 void cooling_struct_dump(const struct cooling_function_data* cooling,
@@ -70,7 +70,7 @@ void cooling_struct_dump(const struct cooling_function_data* cooling,
  * @brief Restore a hydro_props struct from the given FILE as a stream of
  * bytes.
  *
- * @param p the struct
+ * @param cooling the struct
  * @param stream the file stream
  */
 void cooling_struct_restore(const struct cooling_function_data* cooling,
diff --git a/src/parser.c b/src/parser.c
index cedfeeb246..efbef47dad 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -789,7 +789,7 @@ void parser_write_params_to_hdf5(const struct swift_params *params, hid_t grp) {
 /**
  * @brief Write a swift_params struct to the given FILE as a stream of bytes.
  *
- * @param p the struct
+ * @param params the struct
  * @param stream the file stream
  */
 void parser_struct_dump(const struct swift_params *params, FILE *stream) {
@@ -801,7 +801,7 @@ void parser_struct_dump(const struct swift_params *params, FILE *stream) {
  * @brief Restore a swift_params struct from the given FILE as a stream of
  * bytes.
  *
- * @param p the struct
+ * @param params the struct
  * @param stream the file stream
  */
 void parser_struct_restore(const struct swift_params *params, FILE *stream) {
diff --git a/src/potential.c b/src/potential.c
index 38d99c6df9..f4926bbfb7 100644
--- a/src/potential.c
+++ b/src/potential.c
@@ -70,7 +70,7 @@ void potential_struct_dump(const struct external_potential* potential,
  * @brief Restore a external_potential struct from the given FILE as a stream of
  * bytes.
  *
- * @param p the struct
+ * @param potential the struct
  * @param stream the file stream
  */
 void potential_struct_restore(const struct external_potential* potential,
-- 
GitLab