aboutsummaryrefslogtreecommitdiff
path: root/compat/vis
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-08-07 16:09:00 +0000
committerOmar Polo <op@omarpolo.com>2023-08-07 16:09:00 +0000
commit36363b011c93814c2677bf8cf87f9829916f621d (patch)
tree0c0939bb860e613a71f3095157e137d2368db57f /compat/vis
parentd13b044d59619a52277c229eb37d38265690fb64 (diff)
drop #include <sys/cdefs.h> from vis.h
Doesn't seem to be available on many systems. It is also not strictly needed since we include vis.h only after headers like stdlib.h that already pulls in the type it needs.
Diffstat (limited to 'compat/vis')
-rw-r--r--compat/vis/vis.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/compat/vis/vis.h b/compat/vis/vis.h
index 59b7d6b..cb1b9bd 100644
--- a/compat/vis/vis.h
+++ b/compat/vis/vis.h
@@ -73,8 +73,6 @@
*/
#define UNVIS_END 1 /* no more characters */
-#include <sys/cdefs.h>
-
char *vis(char *, int, int, int);
int strvis(char *, const char *, int);
int stravis(char **, const char *, int);