From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7894) id AB510385C401; Thu, 25 Aug 2022 06:53:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB510385C401 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Martin Storsjo To: bfd-cvs@sourceware.org Subject: [binutils-gdb] ld: pe: Move the return type to a separate line from the function name X-Act-Checkin: binutils-gdb X-Git-Author: =?utf-8?q?Martin_Storsj=C3=B6?= X-Git-Refname: refs/heads/master X-Git-Oldrev: 8f401e317af76b1f55fa05d5d6903814c2a5a0bf X-Git-Newrev: 45692d91e733233d667665750eabdba8ba98b227 Message-Id: <20220825065307.AB510385C401@sourceware.org> Date: Thu, 25 Aug 2022 06:53:07 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2022 06:53:07 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D45692d91e733= 233d667665750eabdba8ba98b227 commit 45692d91e733233d667665750eabdba8ba98b227 Author: Martin Storsj=C3=B6 Date: Thu Aug 25 09:49:59 2022 +0300 ld: pe: Move the return type to a separate line from the function name =20 This fixes the coding style of an old, preexisting function. Diff: --- ld/emultempl/pe.em | 3 ++- ld/emultempl/pep.em | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 2706d73d144..665c02cad6b 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -157,7 +157,8 @@ static char *pe_dll_search_prefix =3D NULL; =20 extern const char *output_filename; =20 -static int is_underscoring (void) +static int +is_underscoring (void) { int u =3D 0; if (pe_leading_underscore !=3D -1) diff --git a/ld/emultempl/pep.em b/ld/emultempl/pep.em index accefc0ed60..05214b1ba3c 100644 --- a/ld/emultempl/pep.em +++ b/ld/emultempl/pep.em @@ -167,7 +167,8 @@ static char * pep_dll_search_prefix =3D NULL; =20 extern const char *output_filename; =20 -static int is_underscoring (void) +static int +is_underscoring (void) { int u =3D 0; if (pep_leading_underscore !=3D -1)