From patchwork Mon Mar 18 23:51:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 228860 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id BBABA2C00B1 for ; Tue, 19 Mar 2013 11:00:29 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 44DD54A051; Tue, 19 Mar 2013 00:57:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id halmxnA057Em; Tue, 19 Mar 2013 00:57:46 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 73B684A12A; Tue, 19 Mar 2013 00:54:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C0E3D4A032 for ; Tue, 19 Mar 2013 00:53:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6BHN5GQFCMhD for ; Tue, 19 Mar 2013 00:53:39 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-vc0-f202.google.com (mail-vc0-f202.google.com [209.85.220.202]) by theia.denx.de (Postfix) with ESMTPS id 733A94A050 for ; Tue, 19 Mar 2013 00:53:22 +0100 (CET) Received: by mail-vc0-f202.google.com with SMTP id gf12so462749vcb.5 for ; Mon, 18 Mar 2013 16:53:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=QgLybFB5oHTB+iEviH8K7Iy60+oMKXaK+wnptJ18Evo=; b=H1RSRt8E7oQS4JljPg8CP0xAVvk3a4FFWKFLHHVzQMb9S+cTvGBHbZvrgNy76ME1cS q4kCsSuQj6DIBgv3hc5ux6oJIhxH5SjHA3IhZOsH5VdxnZxIi3oOdwhL39OSQvtnwYq8 GyKaHitQ0YwYCPgpfgQTr6lBbvLS3iZZzTxRhm2UCRAlas3mn210RnJo0b46u/cWtrsi il2BDYQ7DZBLvF0uu9KA1bq2ESjHyHBuDjr3eCTMP5s/9CIkqhYpgyWzpE7iGyAZVdjh z20cT0z511qsDjVNGb7q52TtM19xlvTW5O513ejWcF2XM3VB7jseKaeDiNf6aw3bUrJ1 xE7g== X-Received: by 10.52.71.7 with SMTP id q7mr13283933vdu.3.1363650800977; Mon, 18 Mar 2013 16:53:20 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id b67si2189746yhi.2.2013.03.18.16.53.20 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Mon, 18 Mar 2013 16:53:20 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id C722C31C1D7; Mon, 18 Mar 2013 16:53:20 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id A662716036D; Mon, 18 Mar 2013 16:53:20 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Mon, 18 Mar 2013 16:51:45 -0700 Message-Id: <1363650725-30459-26-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.8.1.3 In-Reply-To: <1363650725-30459-1-git-send-email-sjg@chromium.org> References: <1363650725-30459-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQmMd9zO9EIPbEugcDJgDV6hLiqlmyrIZYyuQFPfMNT/Nx/ZAoDsRf2Gdk2MAN03plDMKVKrmyO35m6xVdS+zbYm6I/37YQxKgiGlWtu1D+SSit+Un7fxzFNdTzAaAcef2Kr2rOxCxWZtTwpHw60h+7LWaIXw3bVMcs9TVljp1HUy71rJvw9MIz6dWxEPatekDwvWs/O Cc: Joel A Fernandes , Will Drewry , u-boot-review@google.com, Bill Richardson , Randall Spangler , Tom Rini , Vadim Bendebury , =?UTF-8?q?Andreas=20B=C3=A4ck?= , Kees Cook Subject: [U-Boot] [PATCH v2 25/45] Add stdarg to vsprintf.h X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This file uses varargs, so add the header file so that it can be used when common has not been included. TODO: Probably should drop this patch? Signed-off-by: Simon Glass --- Changes in v2: None include/vsprintf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/vsprintf.h b/include/vsprintf.h index 651077c..704b8cd 100644 --- a/include/vsprintf.h +++ b/include/vsprintf.h @@ -24,6 +24,8 @@ #ifndef __VSPRINTF_H #define __VSPRINTF_H +#include + ulong simple_strtoul(const char *cp, char **endp, unsigned int base); /**