From d63eae9f15c84ae53a6d031b452c50593e714c56 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Mon, 12 Nov 2012 23:03:36 +0100 Subject: [PATCH] Warning removal of unused definition of open_noatime(). --- portable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portable.h b/portable.h index 8640c0de..46cd4ce3 100644 --- a/portable.h +++ b/portable.h @@ -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)