Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1709668

[PATCH] uapi/linux/quota.h: Do not include linux/errno.h

From Florian Weimer <fweimer@redhat.com>
Newsgroups linux.kernel
Subject [PATCH] uapi/linux/quota.h: Do not include linux/errno.h
Date 2017-08-11 16:30 +0200
Message-ID <udj6N-4Eb-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


linux/errno.h is very sensitive to coordination with libc headers.
Nothing in linux/quota.h needs it, so this change allows using
this header in more contexts.

Signed-off-by: Florian Weimer <fweimer@redhat.com>
---
 include/uapi/linux/quota.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/uapi/linux/quota.h b/include/uapi/linux/quota.h
index 4d2489ef6f10..f17c9636a859 100644
--- a/include/uapi/linux/quota.h
+++ b/include/uapi/linux/quota.h
@@ -33,7 +33,6 @@
 #ifndef _UAPI_LINUX_QUOTA_
 #define _UAPI_LINUX_QUOTA_
 
-#include <linux/errno.h>
 #include <linux/types.h>
 
 #define __DQUOT_VERSION__	"dquot_6.6.0"
-- 
2.13.4

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] uapi/linux/quota.h: Do not include linux/errno.h Florian Weimer <fweimer@redhat.com> - 2017-08-11 16:30 +0200
  Re: [PATCH] uapi/linux/quota.h: Do not include linux/errno.h Jan Kara <jack@suse.cz> - 2017-08-14 12:00 +0200

csiph-web