unify includes of stdio and assert

This commit is contained in:
Yuichi Nishiwaki 2014-02-11 23:25:25 +09:00
parent 5be10aefc9
commit 34c10b0054
12 changed files with 1 additions and 18 deletions

View File

@ -32,6 +32,7 @@ extern "C" {
#include <stdbool.h> #include <stdbool.h>
#include <setjmp.h> #include <setjmp.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h>
#include "xhash/xhash.h" #include "xhash/xhash.h"
#include "xfile/xfile.h" #include "xfile/xfile.h"

View File

@ -2,9 +2,6 @@
* See Copyright Notice in picrin.h * See Copyright Notice in picrin.h
*/ */
#include <stdio.h>
#include <assert.h>
#include "picrin.h" #include "picrin.h"
#include "picrin/pair.h" #include "picrin/pair.h"
#include "picrin/irep.h" #include "picrin/irep.h"

View File

@ -3,7 +3,6 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>

View File

@ -2,8 +2,6 @@
* See Copyright Notice in picrin.h * See Copyright Notice in picrin.h
*/ */
#include <stdio.h>
#include "picrin.h" #include "picrin.h"
#include "picrin/port.h" #include "picrin/port.h"

View File

@ -18,8 +18,6 @@
#if GC_DEBUG #if GC_DEBUG
# include <string.h> # include <string.h>
# include <stdio.h>
# include <assert.h>
#endif #endif
void void

View File

@ -2,7 +2,6 @@
* See Copyright Notice in picrin.h * See Copyright Notice in picrin.h
*/ */
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "picrin.h" #include "picrin.h"

View File

@ -2,8 +2,6 @@
* See Copyright Notice in picrin.h * See Copyright Notice in picrin.h
*/ */
#include <stdio.h>
#include <assert.h>
#include <string.h> #include <string.h>
#include "picrin.h" #include "picrin.h"

View File

@ -4,7 +4,6 @@
%{ %{
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#include "picrin.h" #include "picrin.h"

View File

@ -2,10 +2,8 @@
* See Copyright Notice in picrin.h * See Copyright Notice in picrin.h
*/ */
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <assert.h>
#include "picrin.h" #include "picrin.h"
#include "picrin/proc.h" #include "picrin/proc.h"

View File

@ -5,7 +5,6 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <math.h> #include <math.h>
#include <assert.h>
#include "picrin.h" #include "picrin.h"

View File

@ -6,8 +6,6 @@
#include "picrin/proc.h" #include "picrin/proc.h"
#include "picrin/var.h" #include "picrin/var.h"
#include <assert.h>
#define UNREACHABLE (assert(false)) #define UNREACHABLE (assert(false))
struct pic_var * struct pic_var *

View File

@ -2,7 +2,6 @@
* See Copyright Notice in picrin.h * See Copyright Notice in picrin.h
*/ */
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <limits.h> #include <limits.h>