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/libstore/pathlocks.hh | |
parent | 58337e0e6122a97061dcf803954f72469f67afca (diff) |
Use "#pragma once" to prevent repeated header file inclusion
Diffstat (limited to 'src/libstore/pathlocks.hh')
-rw-r--r-- | src/libstore/pathlocks.hh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libstore/pathlocks.hh b/src/libstore/pathlocks.hh index 57ca1584a6d6..8a6b1450da2a 100644 --- a/src/libstore/pathlocks.hh +++ b/src/libstore/pathlocks.hh @@ -1,5 +1,4 @@ -#ifndef __PATHLOCKS_H -#define __PATHLOCKS_H +#pragma once #include "types.hh" @@ -44,6 +43,3 @@ bool pathIsLockedByMe(const Path & path); } - - -#endif /* !__PATHLOCKS_H */ |