aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/nixexpr.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-18 14:59:03 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-18 14:59:03 -0400
commitb7fd2c28224a69476434d69b5d9da3d150c07226 (patch)
tree7bff185e6c7974605740718233fe052e1ce149cd /src/libexpr/nixexpr.hh
parent58337e0e6122a97061dcf803954f72469f67afca (diff)
Use "#pragma once" to prevent repeated header file inclusion
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r--src/libexpr/nixexpr.hh6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh
index 6eb771a72..4c1a0bb2d 100644
--- a/src/libexpr/nixexpr.hh
+++ b/src/libexpr/nixexpr.hh
@@ -1,5 +1,4 @@
-#ifndef __NIXEXPR_H
-#define __NIXEXPR_H
+#pragma once
#include "value.hh"
#include "symbol-table.hh"
@@ -290,6 +289,3 @@ struct StaticEnv
}
-
-
-#endif /* !__NIXEXPR_H */