[binutils-gdb] ld: pe: Move the return type to a separate line from the function name
Martin Storsjo
mstorsjo@sourceware.org
Thu Aug 25 06:53:07 GMT 2022
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)
More information about the Binutils-cvs
mailing list