aboutsummaryrefslogtreecommitdiffstats
path: root/writeprotect.c
diff options
context:
space:
mode:
authorEvan Benn <evanbenn@chromium.org>2022-04-28 12:36:53 +1000
committerAnastasia Klimchuk <aklm@chromium.org>2022-05-06 01:00:37 +0000
commit1866deb06d775b9d006c1ef21c99f439677f0f76 (patch)
tree0c7cd17f7cb8eafa5eac97213554cd231a94eee0 /writeprotect.c
parent4557c503e7020d2f72772bebc00d5f7ef9ff8133 (diff)
downloadflashrom-1866deb06d775b9d006c1ef21c99f439677f0f76.tar.gz
flashrom-1866deb06d775b9d006c1ef21c99f439677f0f76.tar.bz2
flashrom-1866deb06d775b9d006c1ef21c99f439677f0f76.zip
libflashrom: Move documentation to header
The doxygen documentation was in the libflashrom.c file. Move the documentation to the libflashrom.h file. This allows foreign function interface binding generators (eg rust bindgen) that operate on the .h file to generate documentation for the target language. Some doxygen errors were also corrected, mostly undocumented or wrongly labeled parameters. To test, I have diffed and inspected the doxygen documentation before and after the change. All functions are documented the same, and the structs and enums are now also included in the docs. Change-Id: I856b74d5bfea13722539be15496755a95e701eea Signed-off-by: Evan Benn <evanbenn@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/63903 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'writeprotect.c')
-rw-r--r--writeprotect.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/writeprotect.c b/writeprotect.c
index ab6b1761..cfdd15b8 100644
--- a/writeprotect.c
+++ b/writeprotect.c
@@ -489,5 +489,3 @@ out:
free(range_pairs);
return ret;
}
-
-/** @} */ /* end flashrom-wp */