aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-08-25 09:49:59 +0300
committerMartin Storsjö <martin@martin.st>2022-08-25 09:51:20 +0300
commit45692d91e733233d667665750eabdba8ba98b227 (patch)
treefd99efa68732d32966fba88accd319040c01bf6c
parent8f401e317af76b1f55fa05d5d6903814c2a5a0bf (diff)
downloadfsf-binutils-gdb-45692d91e733233d667665750eabdba8ba98b227.zip
fsf-binutils-gdb-45692d91e733233d667665750eabdba8ba98b227.tar.gz
fsf-binutils-gdb-45692d91e733233d667665750eabdba8ba98b227.tar.bz2
ld: pe: Move the return type to a separate line from the function name
This fixes the coding style of an old, preexisting function.
-rw-r--r--ld/emultempl/pe.em3
-rw-r--r--ld/emultempl/pep.em3
2 files changed, 4 insertions, 2 deletions
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 2706d73..665c02c 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 accefc0..05214b1 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)