From b8e225422defaecb12e4860000f97e08f9f5afe8 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Mon, 30 Sep 2024 16:56:09 +0100 Subject: misc/viz: include errno.h for errno errno must be accessed by a macro from errno.h. This program was partially converted in it's initial commit, but the removal of errno declerations was incomplete. --- misc/viz/files/patch-lists.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 misc/viz/files/patch-lists.c (limited to 'misc/viz/files/patch-lists.c') diff --git a/misc/viz/files/patch-lists.c b/misc/viz/files/patch-lists.c new file mode 100644 index 000000000000..db88c0b0baf6 --- /dev/null +++ b/misc/viz/files/patch-lists.c @@ -0,0 +1,13 @@ +--- lists.c.orig ++++ lists.c +@@ -6,10 +6,6 @@ + + #include "viz.h" + +-extern errno; +- +-extern char *malloc(); +- + void + printlist(level, list) + int level; -- cgit v1.2.3