mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01: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 __SHARED_H
|
||||
#define __SHARED_H
|
||||
#pragma once
|
||||
|
||||
#include "util.hh"
|
||||
|
||||
|
|
@ -54,6 +53,3 @@ extern int exitCode;
|
|||
extern char * * argvSaved;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif /* !__SHARED_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue