From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sat, 17 Sep 2011 22:10:10 -0400 Subject: [U-Boot] [PATCH v2 3/7] Add timing information to printf's for use with bootgraph.pl In-Reply-To: <1315658227-4388-3-git-send-email-amurray@theiet.org> References: <1314829261-13996-1-git-send-email-amurray@theiet.org> <1315658227-4388-1-git-send-email-amurray@theiet.org> <1315658227-4388-3-git-send-email-amurray@theiet.org> Message-ID: <201109172210.12543.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Saturday, September 10, 2011 08:37:03 Andrew Murray wrote: > +int printf(const char *fmt, ...) > +{ > + va_list args; > + uint i = 0; > + > + va_start(args, fmt); > + i = vprintf(fmt, args); > + va_end(args); > + > + return i; > +} could you split this change out by itself ? this reduces code duplication between the printf/vprintf funcs. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20110917/7867500e/attachment.pgp