From 2da42df615c0489291f8d3e1ce873642755a49c6 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 14 Sep 2003 12:20:17 +0000 Subject: * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove unneeded (void *) casts. * ar.c: Likewise. * arlex.l: Likewise. * arparse.y: Likewise. * arsup.c: Likewise. * binemul.c: Likewise. * binemul.h: Likewise. * bucomm.c: Likewise. * bucomm.h: Likewise. * budbg.h: Likewise. * budemang.c: Likewise. * budemang.h: Likewise. * coffdump.c: Likewise. * coffgrok.c: Likewise. * cxxfilt.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * deflex.l: Likewise. * dlltool.c: Likewise. * dlltool.h: Likewise. * dllwrap.c: Likewise. * emul_aix.c: Likewise. * filemode.c: Likewise. * ieee.c: Likewise. * nlmconv.c: Likewise. * nlmconv.h: Likewise. * nlmheader.y: Likewise. * nm.c: Likewise. * prdbg.c: Likewise. * rclex.l: Likewise. * rcparse.y: Likewise. * rdcoff.c: Likewise. * rddbg.c: Likewise. * rename.c: Likewise. * resbin.c: Likewise. * rescoff.c: Likewise. * resrc.c: Likewise. * size.c: Likewise. * srconv.c: Likewise. * stabs.c: Likewise. * strings.c: Likewise. * sysdump.c: Likewise. * sysinfo.y: Likewise. * syslex.l: Likewise. * unwind-ia64.c: Likewise. * unwind-ia64.h: Likewise. * version.c: Likewise. * windres.c: Likewise. * windres.h: Likewise. * winduni.c: Likewise. * wrstabs.c: Likewise. --- binutils/winduni.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'binutils/winduni.c') diff --git a/binutils/winduni.c b/binutils/winduni.c index deb6a94..65bc608 100644 --- a/binutils/winduni.c +++ b/binutils/winduni.c @@ -1,5 +1,5 @@ /* winduni.c -- unicode support for the windres program. - Copyright 1997, 1998, 2000, 2001 Free Software Foundation, Inc. + Copyright 1997, 1998, 2000, 2001, 2003 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support. This file is part of GNU Binutils. @@ -40,10 +40,7 @@ expanding chars to shorts, rather than doing something intelligent. */ void -unicode_from_ascii (length, unicode, ascii) - int *length; - unichar **unicode; - const char *ascii; +unicode_from_ascii (int *length, unichar **unicode, const char *ascii) { int len; const char *s; @@ -73,10 +70,7 @@ unicode_from_ascii (length, unicode, ascii) some Windows function, probably WideCharToMultiByte. */ void -unicode_print (e, unicode, length) - FILE *e; - const unichar *unicode; - int length; +unicode_print (FILE *e, const unichar *unicode, int length) { while (1) { -- cgit v1.1