Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1709668 > unrolled thread
| Started by | Florian Weimer <fweimer@redhat.com> |
|---|---|
| First post | 2017-08-11 16:30 +0200 |
| Last post | 2017-08-14 12:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[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
| From | Florian Weimer <fweimer@redhat.com> |
|---|---|
| Date | 2017-08-11 16:30 +0200 |
| Subject | [PATCH] uapi/linux/quota.h: Do not include linux/errno.h |
| Message-ID | <udj6N-4Eb-1@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Jan Kara <jack@suse.cz> |
|---|---|
| Date | 2017-08-14 12:00 +0200 |
| Message-ID | <uekka-2xb-17@gated-at.bofh.it> |
| In reply to | #1709668 |
On Fri 11-08-17 16:24:15, Florian Weimer wrote: > 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> Thanks! Added to my tree. Honza > --- > 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 > > -- Jan Kara <jack@suse.com> SUSE Labs, CR
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web