[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Whitespace changes only.
From: |
John Darrington |
Subject: |
[PATCH] Whitespace changes only. |
Date: |
Wed, 15 Jan 2020 11:37:59 +0100 |
This change makes the code conform more closely to GNU Coding Standards.
---
src/ios.c | 6 +++---
src/pk-repl.c | 4 ++--
src/pkl-parser.c | 2 +-
src/pkl.c | 2 +-
src/poke.c | 2 +-
src/pvm-alloc.c | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/ios.c b/src/ios.c
index 2221caa5..e7b399cd 100644
--- a/src/ios.c
+++ b/src/ios.c
@@ -1427,7 +1427,7 @@ ios_write_int_common (ios io, ios_off offset, int flags,
return IOS_OK;
default:
- assert(0);
+ assert (0);
}
}
@@ -1451,7 +1451,7 @@ ios_write_int (ios io, ios_off offset, int flags,
uint64_t uvalue = ((uint64_t) (value << unused_bits)) >> unused_bits;
/* Fall into the case for the unaligned and the sizes other than 8k. */
- return ios_write_int_common(io, offset, flags, bits, endian, uvalue);
+ return ios_write_int_common (io, offset, flags, bits, endian, uvalue);
}
int
@@ -1469,7 +1469,7 @@ ios_write_uint (ios io, ios_off offset, int flags,
return ios_write_int_fast (io, flags, bits, endian, value);
/* Fall into the case for the unaligned and the sizes other than 8k. */
- return ios_write_int_common(io, offset, flags, bits, endian, value);
+ return ios_write_int_common (io, offset, flags, bits, endian, value);
}
int
diff --git a/src/pk-repl.c b/src/pk-repl.c
index 92d9159d..b5651c1e 100644
--- a/src/pk-repl.c
+++ b/src/pk-repl.c
@@ -197,8 +197,8 @@ pk_repl (void)
}
#if defined HAVE_READLINE_HISTORY_H
if (poke_history) {
- write_history(poke_history);
- free(poke_history);
+ write_history (poke_history);
+ free (poke_history);
}
#endif
}
diff --git a/src/pkl-parser.c b/src/pkl-parser.c
index 7a090d02..6dbe3798 100644
--- a/src/pkl-parser.c
+++ b/src/pkl-parser.c
@@ -126,7 +126,7 @@ pkl_parse_buffer (pkl_compiler compiler, pkl_env *env,
else
assert (0);
- yybuffer = pkl_tab__scan_string(buffer, parser->scanner);
+ yybuffer = pkl_tab__scan_string (buffer, parser->scanner);
/* XXX */
/* pkl_tab_debug = 1; */
diff --git a/src/pkl.c b/src/pkl.c
index 7ed0d9a1..1f587280 100644
--- a/src/pkl.c
+++ b/src/pkl.c
@@ -646,7 +646,7 @@ pkl_warning (pkl_compiler compiler,
return;
}
- va_start(valist, fmt);
+ va_start (valist, fmt);
vasprintf (&msg, fmt, valist);
va_end (valist);
diff --git a/src/poke.c b/src/poke.c
index a945c940..52c94f40 100644
--- a/src/poke.c
+++ b/src/poke.c
@@ -295,7 +295,7 @@ parse_args (int argc, char *argv[])
if (optind < argc)
{
- print_help();
+ print_help ();
goto exit_failure;
}
diff --git a/src/pvm-alloc.c b/src/pvm-alloc.c
index d278df41..840f8074 100644
--- a/src/pvm-alloc.c
+++ b/src/pvm-alloc.c
@@ -65,7 +65,7 @@ pvm_alloc_initialize ()
void
pvm_alloc_finalize ()
{
- GC_gcollect();
+ GC_gcollect ();
}
void
--
2.11.0
- [PATCH] Whitespace changes only.,
John Darrington <=