Warning removal of unused definition of open_noatime().

This commit is contained in:
Andrea Mazzoleni 2012-11-12 23:03:36 +01:00
parent dc3b03c4c4
commit d63eae9f15

View file

@ -141,7 +141,7 @@
/**
* Open a file with the O_NOATIME flag to avoid to update the acces time.
*/
static int open_noatime(const char* file, int flags)
static inline int open_noatime(const char* file, int flags)
{
int f = open(file, flags | O_NOATIME);
if (f == -1 && errno == EPERM)