diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-05-21 11:17:31 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-05-21 11:17:31 +0000 |
commit | bd955e15e1aac8a1490a680b9f5cfcce29f2331a (patch) | |
tree | f56e21d3608bb14ae3ca89e2ddc6c7c887bfbd85 /src/libstore/pathlocks.hh | |
parent | 9819bb20da130509ab62f303267331c2403b043c (diff) |
* GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour and
Armijn Hemel.
Diffstat (limited to 'src/libstore/pathlocks.hh')
-rw-r--r-- | src/libstore/pathlocks.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/pathlocks.hh b/src/libstore/pathlocks.hh index 0ca1ce687..8b4100028 100644 --- a/src/libstore/pathlocks.hh +++ b/src/libstore/pathlocks.hh @@ -17,7 +17,7 @@ int openLockFile(const Path & path, bool create); void deleteLockFilePreClose(const Path & path, int fd); void deleteLockFilePostClose(const Path & path); -typedef enum LockType { ltRead, ltWrite, ltNone }; +enum LockType { ltRead, ltWrite, ltNone }; bool lockFile(int fd, LockType lockType, bool wait); |