public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] ld: pe: Move the return type to a separate line from the function name
@ 2022-08-25  6:53 Martin Storsjo
  0 siblings, 0 replies; only message in thread
From: Martin Storsjo @ 2022-08-25  6:53 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=45692d91e733233d667665750eabdba8ba98b227

commit 45692d91e733233d667665750eabdba8ba98b227
Author: Martin Storsjö <martin@martin.st>
Date:   Thu Aug 25 09:49:59 2022 +0300

    ld: pe: Move the return type to a separate line from the function name
    
    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 = NULL;
 
 extern const char *output_filename;
 
-static int is_underscoring (void)
+static int
+is_underscoring (void)
 {
   int u = 0;
   if (pe_leading_underscore != -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 = NULL;
 
 extern const char *output_filename;
 
-static int is_underscoring (void)
+static int
+is_underscoring (void)
 {
   int u = 0;
   if (pep_leading_underscore != -1)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-25  6:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25  6:53 [binutils-gdb] ld: pe: Move the return type to a separate line from the function name Martin Storsjo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).