aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04 21:50:39 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04 21:50:39 +0000
commit2382a729e07ae09abb278cc28b137b9c4060101e (patch)
tree3e59d071d84d280ad3d96e66d9a838b2c287834b /src
parente3ce954582f56b9d853ea379c783cf6cd5571c83 (diff)
* Don't need extern "C".
Diffstat (limited to 'src')
-rw-r--r--src/libmain/shared.cc2
-rw-r--r--src/libutil/aterm.hh2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 1987050dd..c153a6faf 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -16,9 +16,7 @@
#include <pwd.h>
#include <grp.h>
-extern "C" {
#include <aterm2.h>
-}
namespace nix {
diff --git a/src/libutil/aterm.hh b/src/libutil/aterm.hh
index 431c67d13..6a2415f0b 100644
--- a/src/libutil/aterm.hh
+++ b/src/libutil/aterm.hh
@@ -1,9 +1,7 @@
#ifndef __ATERM_H
#define __ATERM_H
-extern "C" {
#include <aterm2.h>
-}
#include "types.hh"