Proper order for #includes

darcs-hash:20051005095800-ac50b-483cefa796b4e08ee4c2a85d0f841860e87b31d9.gz
This commit is contained in:
axel 2005-10-05 19:58:00 +10:00
parent fabb20dd33
commit 921f0f02c3
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,9 @@
Various functions, mostly string utilities, that are used by most
parts of fish.
*/
#include "config.h"
#include <stdlib.h>
#include <termios.h>
#include <wchar.h>
@ -39,7 +42,6 @@ parts of fish.
#include <term.h>
#include "config.h"
#include "util.h"
#include "wutil.h"
#include "common.h"

3
env.c
View File

@ -2,6 +2,8 @@
Functions for setting and getting environment variables.
*/
#include "config.h"
#include <stdlib.h>
#include <wchar.h>
#include <string.h>
@ -26,7 +28,6 @@
#include <term.h>
#include "config.h"
#include "util.h"
#include "wutil.h"
#include "proc.h"