Move standard includes of stdlib and string from edef.h.

This commit is contained in:
Renaud 2013-10-09 09:43:15 +08:00
parent bdeba62fcb
commit dc3e8984ab
20 changed files with 35 additions and 4 deletions

View File

@ -14,6 +14,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include "buffer.h"
#include "display.h"

1
bind.c
View File

@ -11,6 +11,7 @@
*/
#include <stdio.h>
#include <string.h>
#include "bindable.h"
#include "buffer.h"

View File

@ -1,6 +1,9 @@
/* bindable.h -- implements bindable.c */
#include "bindable.h"
#include <stdlib.h>
#include "defines.h"
#include "buffer.h"
#include "display.h"

View File

@ -12,7 +12,9 @@
* modified by Petri Kutvonen
*/
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "defines.h"
#include "display.h"

View File

@ -15,6 +15,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
#include "buffer.h"

View File

@ -8,6 +8,9 @@
* Modified by Petri Kutvonen
*/
#include <stdlib.h>
#include "basic.h"
#include "bind.h"
#include "bindable.h"

3
edef.h
View File

@ -13,9 +13,6 @@
#include "buffer.h"
#include "estruct.h"
#include <stdlib.h>
#include <string.h>
/* Initialized global external declarations. */
extern int fillcol; /* Fill column */

2
eval.c
View File

@ -10,6 +10,8 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "basic.h"
#include "bind.h"

2
exec.c
View File

@ -11,6 +11,8 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "buffer.h"
#include "bind.h"

View File

@ -1,6 +1,8 @@
/* execute.c -- implements execute.h */
#include "execute.h"
#include <stdlib.h>
#include "edef.h"
#include "bind.h"
#include "random.h"

1
file.c
View File

@ -12,6 +12,7 @@
*/
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "buffer.h"

View File

@ -11,6 +11,7 @@
*/
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "bind.h"

View File

@ -25,6 +25,7 @@
*/
#include <stdio.h>
#include <string.h>
#include "basic.h"
#include "buffer.h"

2
line.c
View File

@ -17,6 +17,8 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "buffer.h"
#include "edef.h"

2
main.c
View File

@ -56,6 +56,8 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "basic.h"
#include "bind.h"

View File

@ -8,6 +8,8 @@
* function.
*/
#include <stdlib.h>
#include "basic.h"
#include "bind.h"
#include "bindable.h"

View File

@ -10,6 +10,7 @@
*/
#include <stdio.h>
#include <string.h>
#include "basic.h"
#include "buffer.h"

View File

@ -61,6 +61,8 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "basic.h"
#include "buffer.h"

View File

@ -9,6 +9,8 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "defines.h"

3
tcap.c
View File

@ -8,6 +8,9 @@
* modified by Petri Kutvonen
*/
#include <stdlib.h>
#include <string.h>
/*
* Defining this to 1 breaks tcapopen() - it doesn't check if the
* sceen size has changed.