]> granicus.if.org Git - mutt/commitdiff
Fix undeclared function warning for mutt_buffy().
authorKevin McCarthy <kevin@8t8.us>
Mon, 8 Apr 2019 17:01:16 +0000 (10:01 -0700)
committerKevin McCarthy <kevin@8t8.us>
Mon, 8 Apr 2019 17:01:16 +0000 (10:01 -0700)
Not sure why gcc didn't give me the warning, but add buffy.h to
pager.c.

status.c already includes mx.h (which includes buffy.h), but add it
explicitly in any case.

pager.c
status.c

diff --git a/pager.c b/pager.c
index 4d8f3161529d9dd98b4dcd9bbb0c83082658facf..66b7491237d9d32f2c70be8788a9016506593d17 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -30,6 +30,7 @@
 #include "attach.h"
 #include "mbyte.h"
 #include "sort.h"
+#include "buffy.h"
 #ifdef USE_SIDEBAR
 #include "sidebar.h"
 #endif
index ac59fdce9fbeef7beab80f2123407a7bc5a486d9..f7c8f1aa4b040e89d1b1e6ed41d8442b785cf3be 100644 (file)
--- a/status.c
+++ b/status.c
@@ -26,6 +26,7 @@
 #include "sort.h"
 #include "mapping.h"
 #include "mx.h"
+#include "buffy.h"
 
 #include <string.h>
 #include <ctype.h>