public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
From: Martin Storsjo <mstorsjo@sourceware.org>
To: bfd-cvs@sourceware.org
Subject: [binutils-gdb] ld: pe: Move the return type to a separate line from the function name
Date: Thu, 25 Aug 2022 06:53:07 +0000 (GMT)	[thread overview]
Message-ID: <20220825065307.AB510385C401@sourceware.org> (raw)

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)

                 reply	other threads:[~2022-08-25  6:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220825065307.AB510385C401@sourceware.org \
    --to=mstorsjo@sourceware.org \
    --cc=bfd-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).