summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2016-02-07 16:35:00 +0100
committerAmadeusz Sławiński <amade@asmblr.net>2016-02-07 17:57:37 +0100
commit263d9c6c8d490b2018c7c02dfb168897270286c1 (patch)
tree7c0feffb645a4bc69a97af774aba2a8d353fa575 /src/mark.c
parent42745c6ac1d803cfc92291e5b18d982aacf8dc4f (diff)
downloadscreen-263d9c6c8d490b2018c7c02dfb168897270286c1.tar.gz
make all header files self-contained and include it in the source file
Including the header in the source file guarantees matching signatures, thus preventing subtle errors. Self-contained headers document the required headers and makes using it easier to use the header in new source files.
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mark.c b/src/mark.c
index 754e4f0..5d2eb19 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -26,6 +26,8 @@
****************************************************************
*/
+#include "mark.h"
+
#include <sys/types.h>
#include <ctype.h>
#include <stdbool.h>
@@ -37,7 +39,6 @@
#include "encoding.h"
#include "fileio.h"
-#include "mark.h"
#include "process.h"
#include "search.h"