aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_behex_edid.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-08 00:21:02 +0100
committerMattias Andrée <maandree@kth.se>2021-03-08 00:21:02 +0100
commitb058098fdcc5d4ed9b81fdb17f64820c0360ad48 (patch)
treee39e5f547b900922775d466507c29b352f046a53 /libgamma_behex_edid.c
parentmisc (diff)
downloadlibgamma-b058098fdcc5d4ed9b81fdb17f64820c0360ad48.tar.gz
libgamma-b058098fdcc5d4ed9b81fdb17f64820c0360ad48.tar.bz2
libgamma-b058098fdcc5d4ed9b81fdb17f64820c0360ad48.tar.xz
m + style fix + check memory allocation overflows
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libgamma_behex_edid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libgamma_behex_edid.c b/libgamma_behex_edid.c
index 269d68f..f4dea30 100644
--- a/libgamma_behex_edid.c
+++ b/libgamma_behex_edid.c
@@ -5,9 +5,9 @@
/**
* Convert a raw representation of an EDID to a lowercase hexadecimal representation
*
- * @param edid:const unsigned char* The EDID in raw representation
- * @param length:size_t The length of `edid`
- * @return :char* The EDID in lowercase hexadecimal representation,
- * `NULL` on allocation error, `errno` will be set accordingly
+ * @param edid The EDID in raw representation
+ * @param length The length of `edid`
+ * @return The EDID in lowercase hexadecimal representation,
+ * `NULL` on allocation error, `errno` will be set accordingly
*/
extern inline char *libgamma_behex_edid(const unsigned char *restrict, size_t);