diff options
author | Brian Callahan <bcallah@cvs.openbsd.org> | 2015-03-19 21:22:16 +0000 |
---|---|---|
committer | Brian Callahan <bcallah@cvs.openbsd.org> | 2015-03-19 21:22:16 +0000 |
commit | 1fb5e81a161f71860b29d58d3c9bb9c453290e6c (patch) | |
tree | 95b4b30dc10beab20e60c839b36be84c9c0a4dc0 /usr.bin/mg/undo.c | |
parent | 9abab06d318f6fc4ba2ddf1b70766fa48de4fe44 (diff) |
Clean up the includes in mg.
This does the following:
Moves all POSIX headers from sysdef.h into the individual .c files so that
each file now only includes what it needs. All headers are properly sorted.
Moves the remainder of sysdef.h to other files (mostly def.h) and deletes
sysdef.h now that it's no longer contains anything.
Tweak a comment that references sysdef.h so that it no longer does that.
ok florian@
Diffstat (limited to 'usr.bin/mg/undo.c')
-rw-r--r-- | usr.bin/mg/undo.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/mg/undo.c b/usr.bin/mg/undo.c index b8a4e88bf77..246e898f1ac 100644 --- a/usr.bin/mg/undo.c +++ b/usr.bin/mg/undo.c @@ -1,8 +1,14 @@ -/* $OpenBSD: undo.c,v 1.55 2014/03/20 07:47:29 lum Exp $ */ +/* $OpenBSD: undo.c,v 1.56 2015/03/19 21:22:15 bcallah Exp $ */ /* * This file is in the public domain */ +#include <sys/queue.h> +#include <signal.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> + #include "def.h" #include "kbd.h" |