1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 17:51:15 +02:00

Use "#pragma once" to prevent repeated header file inclusion

This commit is contained in:
Eelco Dolstra 2012-07-18 14:59:03 -04:00
parent 58337e0e61
commit b7fd2c2822
32 changed files with 31 additions and 166 deletions

View file

@ -1,9 +1,7 @@
#ifndef __COMMON_OPTS_H
#define __COMMON_OPTS_H
#pragma once
#include "eval.hh"
namespace nix {
/* Some common option parsing between nix-env and nix-instantiate. */
@ -17,6 +15,3 @@ bool parseSearchPathArg(const string & arg, Strings::iterator & i,
Path lookupFileArg(EvalState & state, string s);
}
#endif /* !__COMMON_OPTS_H */