diff options
author | Edd Barrett <edd@cvs.openbsd.org> | 2011-10-02 22:20:51 +0000 |
---|---|---|
committer | Edd Barrett <edd@cvs.openbsd.org> | 2011-10-02 22:20:51 +0000 |
commit | f4f5649a30e80e107cad4d88a0c6b7367114ea13 (patch) | |
tree | ee1d7b3c588881c1abe920e46df7e7829439d393 /usr.sbin/config/exec_elf.c | |
parent | 8dda427aa4a00af05b383190962750ad29610f2b (diff) |
Fix some minor things in config(8):
* As haesbaert suggests, correctly order include files.
* Found some old style function defs. Updated.
* Found a prototype inside a function. Moved.
OK nicm@
Diffstat (limited to 'usr.sbin/config/exec_elf.c')
-rw-r--r-- | usr.sbin/config/exec_elf.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/config/exec_elf.c b/usr.sbin/config/exec_elf.c index f84ef4c9fed..943a8e55280 100644 --- a/usr.sbin/config/exec_elf.c +++ b/usr.sbin/config/exec_elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf.c,v 1.12 2009/10/27 23:59:51 deraadt Exp $ */ +/* $OpenBSD: exec_elf.c,v 1.13 2011/10/02 22:20:49 edd Exp $ */ /* * Copyright (c) 1999 Mats O Jansson. All rights reserved. @@ -24,16 +24,17 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/types.h> +#include <sys/exec.h> +#include <sys/exec_elf.h> + #include <err.h> #include <errno.h> #include <fcntl.h> #include <nlist.h> -#include <stdlib.h> #include <stdio.h> +#include <stdlib.h> #include <unistd.h> -#include <sys/exec.h> -#include <sys/exec_elf.h> -#include <sys/types.h> #include "ukc.h" #include "config.h" |