X Tutup
Skip to content

Commit f2a3de0

Browse files
committed
tree-wide: add whitespace between type and variable name
1 parent b403758 commit f2a3de0

File tree

24 files changed

+27
-27
lines changed

24 files changed

+27
-27
lines changed

src/basic/locale-util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ const char *special_glyph(SpecialGlyph code) {
430430
return draw_table[code >= _SPECIAL_GLYPH_FIRST_SMILEY ? emoji_enabled() : is_locale_utf8()][code];
431431
}
432432

433-
void locale_variables_free(char*l[_VARIABLE_LC_MAX]) {
433+
void locale_variables_free(char *l[_VARIABLE_LC_MAX]) {
434434
LocaleVariable i;
435435

436436
if (!l)

src/basic/unit-name.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ static inline int unit_name_mangle(const char *name, UnitNameMangle flags, char
6161
}
6262

6363
int slice_build_parent_slice(const char *slice, char **ret);
64-
int slice_build_subslice(const char *slice, const char*name, char **subslice);
64+
int slice_build_subslice(const char *slice, const char *name, char **subslice);
6565
bool slice_name_is_valid(const char *name);

src/core/job.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ void job_dependency_free(JobDependency *l) {
306306
free(l);
307307
}
308308

309-
void job_dump(Job *j, FILE*f, const char *prefix) {
309+
void job_dump(Job *j, FILE *f, const char *prefix) {
310310
assert(j);
311311
assert(f);
312312

src/core/job.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ void job_free(Job *job);
166166
Job* job_install(Job *j);
167167
int job_install_deserialized(Job *j);
168168
void job_uninstall(Job *j);
169-
void job_dump(Job *j, FILE*f, const char *prefix);
169+
void job_dump(Job *j, FILE *f, const char *prefix);
170170
int job_serialize(Job *j, FILE *f);
171171
int job_deserialize(Job *j, FILE *f);
172172
int job_coldplug(Job *j);

src/journal/journald-audit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ void server_process_audit_message(Server *s, const void *buffer, size_t buffer_s
88

99
void process_audit_string(Server *s, int type, const char *data, size_t size);
1010

11-
int server_open_audit(Server*s);
11+
int server_open_audit(Server *s);

src/journal/journald-native.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ void server_process_native_file(
433433
}
434434
}
435435

436-
int server_open_native_socket(Server*s) {
436+
int server_open_native_socket(Server *s) {
437437

438438
static const union sockaddr_union sa = {
439439
.un.sun_family = AF_UNIX,

src/journal/test-journal-enum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
int main(int argc, char *argv[]) {
1313
unsigned n = 0;
14-
_cleanup_(sd_journal_closep) sd_journal*j = NULL;
14+
_cleanup_(sd_journal_closep) sd_journal *j = NULL;
1515

1616
test_setup_logging(LOG_DEBUG);
1717

src/journal/test-journal-match.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "util.h"
1313

1414
int main(int argc, char *argv[]) {
15-
_cleanup_(sd_journal_closep) sd_journal*j = NULL;
15+
_cleanup_(sd_journal_closep) sd_journal *j = NULL;
1616
_cleanup_free_ char *t;
1717

1818
test_setup_logging(LOG_DEBUG);

src/libsystemd/sd-bus/test-bus-chat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ static int server(sd_bus *bus) {
245245
return r;
246246
}
247247

248-
static void* client1(void*p) {
248+
static void* client1(void *p) {
249249
_cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL;
250250
_cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL;
251251
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
@@ -344,7 +344,7 @@ static int quit_callback(sd_bus_message *m, void *userdata, sd_bus_error *ret_er
344344
return 1;
345345
}
346346

347-
static void* client2(void*p) {
347+
static void* client2(void *p) {
348348
_cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL, *reply = NULL;
349349
_cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL;
350350
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;

src/locale/localectl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ static int localectl_main(sd_bus *bus, int argc, char *argv[]) {
505505
return dispatch_verb(argc, argv, verbs, bus);
506506
}
507507

508-
static int run(int argc, char*argv[]) {
508+
static int run(int argc, char *argv[]) {
509509
_cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL;
510510
int r;
511511

0 commit comments

Comments
 (0)
X Tutup