[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1337715689-7116-1-git-send-email-vapier@gentoo.org>
Date: Tue, 22 May 2012 15:41:29 -0400
From: Mike Frysinger <vapier@...too.org>
To: linux-ext4@...r.kernel.org
Cc: adilger@...mcloud.com
Subject: [PATCH] libquota: add a quotactl prototype
The commit 0df8a27bbaf51b55c0e8c3a533ef4c2ff9d79c9f removed the system
quota.h include, but in doing so, added the problem:
mkquota.c:55:2: warning: implicit declaration of function 'quotactl'
Since we're maintaining a copy of quota.h, add a proper func prototype.
Signed-off-by: Mike Frysinger <vapier@...too.org>
---
lib/quota/quota.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/lib/quota/quota.h b/lib/quota/quota.h
index a943ec6..3eaec1d 100644
--- a/lib/quota/quota.h
+++ b/lib/quota/quota.h
@@ -152,4 +152,9 @@ enum {
};
#define QUOTA_NL_A_MAX (__QUOTA_NL_A_MAX - 1)
+#ifdef HAVE_QUOTACTL
+extern int quotactl(int __cmd, const char *__special, int __id,
+ caddr_t __addr);
+#endif
+
#endif /* _QUOTA_ */
--
1.7.8.6
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists