Sort #include lines - tty-clock - port of tty-clock to OpenBSD, with pledge/unveil added as goodie.
HTML git clone https://git.drkhsh.at/tty-clock.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit af41346aa462abeb5d200f4bb172195e05afade5
DIR parent cfd4effa8bd13f311acca0278d10694a1bba564b
HTML Author: Jakub Wilk <jwilk@jwilk.net>
Date: Sat, 2 May 2020 11:35:37 +0200
Sort #include lines
Diffstat:
M ttyclock.h | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
---
DIR diff --git a/ttyclock.h b/ttyclock.h
@@ -34,17 +34,18 @@
#ifndef TTYCLOCK_H_INCLUDED
#define TTYCLOCK_H_INCLUDED
-#include <sys/types.h>
-#include <sys/stat.h>
#include <assert.h>
+#include <errno.h>
+#include <getopt.h>
+#include <signal.h>
#include <stdlib.h>
#include <string.h>
-#include <errno.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#include <time.h>
-#include <signal.h>
-#include <ncurses.h>
#include <unistd.h>
-#include <getopt.h>
+
+#include <ncurses.h>
/* Macro */
#define NORMFRAMEW 35