mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
Use "#pragma once" to prevent repeated header file inclusion
This commit is contained in:
parent
58337e0e61
commit
b7fd2c2822
32 changed files with 31 additions and 166 deletions
|
@ -1,5 +1,4 @@
|
|||
#ifndef __GET_DRVS_H
|
||||
#define __GET_DRVS_H
|
||||
#pragma once
|
||||
|
||||
#include "eval.hh"
|
||||
|
||||
|
@ -78,6 +77,3 @@ void getDerivations(EvalState & state, Value & v, const string & pathPrefix,
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif /* !__GET_DRVS_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue