summaryrefslogtreecommitdiff
path: root/include/byte.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/byte.h')
-rw-r--r--include/byte.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/include/byte.h b/include/byte.h
index f437341..3ce3b31 100644
--- a/include/byte.h
+++ b/include/byte.h
@@ -2,19 +2,18 @@
#define BYTE_H
/**
- @file byte.h
- @author djb, feh
- @source s/qmail
- @comment no declaration of argument types; too many compiler errors
-*/
+ * @file byte.h
+ * @authors djb, feh, jmh
+ * @ref s/qmail
+ */
-extern unsigned int byte_chr();
-extern unsigned int byte_rchr();
-extern void byte_copy();
-extern void byte_copyr();
-extern int byte_diff();
-extern void byte_zero();
-extern void byte_fill();
+extern unsigned int byte_chr(char *, unsigned int, int);
+extern unsigned int byte_rchr(char *, unsigned int, int);
+extern void byte_copy(void *, unsigned int, const void *);
+extern void byte_copyr(void *, unsigned int, const void *);
+extern int byte_diff(const void *, unsigned int, const void *);
+extern void byte_zero(void *, unsigned int);
+extern void byte_fill(void *, unsigned int, int);
#define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))