From 75068e7d753cf6cbe45a4bf294000dca9bd41d8b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 4 Sep 2006 21:06:23 +0000 Subject: * Use a proper namespace. * Optimise header file usage a bit. * Compile the parser as C++. --- src/libutil/archive.hh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/libutil/archive.hh') diff --git a/src/libutil/archive.hh b/src/libutil/archive.hh index b498c95c1436..f85d589c6b2c 100644 --- a/src/libutil/archive.hh +++ b/src/libutil/archive.hh @@ -1,6 +1,10 @@ -#include +#ifndef __ARCHIVE_H +#define __ARCHIVE_H -#include "util.hh" +#include "types.hh" + + +namespace nix { /* dumpPath creates a Nix archive of the specified path. The format @@ -61,3 +65,9 @@ struct RestoreSource }; void restorePath(const Path & path, RestoreSource & source); + + +} + + +#endif /* !__ARCHIVE_H */ -- cgit 1.4.1