* Remove unnecessary inclusions of aterm2.h.

This commit is contained in:
Eelco Dolstra 2006-09-04 22:08:40 +00:00
parent 2382a729e0
commit 4be5443882
7 changed files with 13 additions and 9 deletions

View file

@ -3,8 +3,6 @@
#include <map> #include <map>
#include <aterm2.h>
#include "aterm-map.hh" #include "aterm-map.hh"
#include "types.hh" #include "types.hh"

View file

@ -11,14 +11,13 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <aterm2.h>
#include "parser-tab.hh"
#include "lexer-tab.hh"
#include "aterm.hh" #include "aterm.hh"
#include "util.hh" #include "util.hh"
#include "parser-tab.hh"
#include "lexer-tab.hh"
#include "nixexpr.hh" #include "nixexpr.hh"
#include "nixexpr-ast.hh" #include "nixexpr-ast.hh"
@ -38,7 +37,7 @@ struct ParseData
}; };
static ATerm fixAttrs(int recursive, ATermList as) static Expr fixAttrs(int recursive, ATermList as)
{ {
ATermList bs = ATempty, cs = ATempty; ATermList bs = ATempty, cs = ATempty;
ATermList * is = recursive ? &cs : &bs; ATermList * is = recursive ? &cs : &bs;

View file

@ -1,5 +1,6 @@
#include "derivations.hh" #include "derivations.hh"
#include "store.hh" #include "store.hh"
#include "aterm.hh"
#include "derivations-ast.hh" #include "derivations-ast.hh"
#include "derivations-ast.cc" #include "derivations-ast.cc"

View file

@ -1,7 +1,8 @@
#ifndef __DERIVATIONS_H #ifndef __DERIVATIONS_H
#define __DERIVATIONS_H #define __DERIVATIONS_H
#include "aterm.hh" typedef struct _ATerm * ATerm;
#include "hash.hh" #include "hash.hh"
#include <map> #include <map>

View file

@ -3,6 +3,8 @@
#include "build.hh" #include "build.hh"
#include "db.hh" #include "db.hh"
#include <aterm2.h>
namespace nix { namespace nix {

View file

@ -5,6 +5,8 @@
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <aterm2.h>
namespace nix { namespace nix {

View file

@ -1,7 +1,8 @@
#ifndef __ATERM_MAP_H #ifndef __ATERM_MAP_H
#define __ATERM_MAP_H #define __ATERM_MAP_H
#include <aterm2.h> typedef struct _ATerm * ATerm;
#include <assert.h> #include <assert.h>