From patchwork Thu May 8 17:48:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 839 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx21.g.dreamhost.com (peon2454.g.dreamhost.com [208.113.200.127]) by wilcox.dreamhost.com (Postfix) with ESMTP id C9A94360098 for ; Thu, 8 May 2014 10:48:58 -0700 (PDT) Received: by homiemail-mx21.g.dreamhost.com (Postfix, from userid 14307373) id 7610314F8451; Thu, 8 May 2014 10:48:58 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx21.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx21.g.dreamhost.com (Postfix) with ESMTPS id 1C77414F84BA for ; Thu, 8 May 2014 10:48:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; q= dns; s=default; b=ct23nb8bWgQveic6LnqmiaMv0hHuade+bO36XMdh8Y3WLv 9Ilg7geeNiwwlAgsZfS91AF3mpF2fQMqaiEqd3EoSEFR5R3RBHLNsmxbBq+U5tZv rd4OwXlx6fy38huZ5kLZAXRjfVTggoeUpY0wf7ghdKp4MAoFRkIQ6X9Oi2lk4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; s= default; bh=LckGAJYrglwn4TaGD44jmTaW/3Y=; b=MTcOVi1vRqk10NpYB9fi cEj8sngqnib77yuJ5q47qHy+YkfPxN6gAFk+P7vZYV3ZmzQcUxNY61fj2klyj6St AT7Z/LY1ksm5nfsR2a3C5lYDd3E+kr4ufYT0rhllavXNKWhu6lUCtFHq9iTkBxF6 SY9VQSP2Q9y3xRuJlTaqlZw= Received: (qmail 4847 invoked by alias); 8 May 2014 17:48:55 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 4793 invoked by uid 89); 8 May 2014 17:48:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [COMMITTED PATCH] Fix -Wundef for _UTSNAME_DOMAIN_LENGTH. Message-Id: <20140508174851.22D2D2C39CD@topped-with-meat.com> Date: Thu, 8 May 2014 10:48:50 -0700 (PDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=J405smXS c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=otFoGWbNGWgA:10 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=USPawCB0ms5X8KcyJz0A:9 a=WzewSDyAI95r0xv8:21 a=G4gNDDE4mzRWWgcF:21 a=CjuIK1q_8ugA:10 X-DH-Original-To: glibc@patchwork.siddhesh.in 2014-05-08 Roland McGrath * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0. --- 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