diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-18T18·59-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-18T18·59-0400 |
commit | b7fd2c28224a69476434d69b5d9da3d150c07226 (patch) | |
tree | 7bff185e6c7974605740718233fe052e1ce149cd /src/nix-store | |
parent | 58337e0e6122a97061dcf803954f72469f67afca (diff) |
Use "#pragma once" to prevent repeated header file inclusion
Diffstat (limited to 'src/nix-store')
-rw-r--r-- | src/nix-store/dotgraph.hh | 5 | ||||
-rw-r--r-- | src/nix-store/xmlgraph.hh | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/nix-store/dotgraph.hh b/src/nix-store/dotgraph.hh index 2318e2fde48d..68410d84156d 100644 --- a/src/nix-store/dotgraph.hh +++ b/src/nix-store/dotgraph.hh @@ -1,5 +1,4 @@ -#ifndef __DOTGRAPH_H -#define __DOTGRAPH_H +#pragma once #include "types.hh" @@ -8,5 +7,3 @@ namespace nix { void printDotGraph(const PathSet & roots); } - -#endif /* !__DOTGRAPH_H */ diff --git a/src/nix-store/xmlgraph.hh b/src/nix-store/xmlgraph.hh index 2f9908c43665..c2216c5a4627 100644 --- a/src/nix-store/xmlgraph.hh +++ b/src/nix-store/xmlgraph.hh @@ -1,5 +1,4 @@ -#ifndef __XMLGRAPH_H -#define __XMLGRAPH_H +#pragma once #include "types.hh" @@ -8,5 +7,3 @@ namespace nix { void printXmlGraph(const PathSet & roots); } - -#endif /* !__XMLGRAPH_H */ |