From: Wolfgang Denk Date: Fri, 18 Apr 2008 06:14:13 +0200 Subject: [U-Boot-Users] [PATCH 2/2] ds174x: Fix warning on return in rtc_get and rtc_set function In-Reply-To: Your message of "Wed, 02 Apr 2008 08:03:58 +0200." <1207116238-7253-3-git-send-email-plagnioj@jcrosoft.com> Message-ID: <20080418041413.61552248A0@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1207116238-7253-3-git-send-email-plagnioj@jcrosoft.com> you wrote: > ds174x.c: In function 'rtc_get': > ds174x.c:117: warning: no return statement in function returning non-void > ds174x.c: In function 'rtc_set': > ds174x.c:146: warning: 'return' with a value, in function returning void > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Anything free is worth what you pay for it.