From 7a1a51b51341e0d0a35bf021e4104e0c9ae5bf63 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 8 May 2014 10:47:35 -0700 Subject: [PATCH] Fix -Wundef for _UTSNAME_DOMAIN_LENGTH. --- ChangeLog | 4 ++++ bits/utsname.h | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 62a91dffc4..e9e707ab9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-05-08 Roland McGrath + + * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0. + 2014-05-07 Steve Ellcey [BZ# 16922] diff --git a/bits/utsname.h b/bits/utsname.h index e41c43820a..5ca7b89c55 100644 --- a/bits/utsname.h +++ b/bits/utsname.h @@ -21,4 +21,8 @@ /* The size of the character arrays used to hold the information in a `struct utsname'. Enlarge this as necessary. */ -#define _UTSNAME_LENGTH 1024 +#define _UTSNAME_LENGTH 1024 + +/* If nonzero, the size of of the `domainname` field in `struct utsname'. + This is zero to indicate that there should be no such field at all. */ +#define _UTSNAME_DOMAIN_LENGTH 0 -- 2.11.4.GIT