diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-13 21:10:17 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-13 23:42:17 -0400 |
commit | be7e1319ead3911357043f06464713323261370f (patch) | |
tree | b803f18805407262818230e5d0fea47645cd7466 /src/journal-remote | |
parent | 48861960acbdf93000087bbf546b6589778fb460 (diff) |
journal-remote: make process_data static
Diffstat (limited to 'src/journal-remote')
-rw-r--r-- | src/journal-remote/journal-remote-parse.c | 2 | ||||
-rw-r--r-- | src/journal-remote/journal-remote-parse.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/journal-remote/journal-remote-parse.c b/src/journal-remote/journal-remote-parse.c index e08cbcc341..65ef7668f1 100644 --- a/src/journal-remote/journal-remote-parse.c +++ b/src/journal-remote/journal-remote-parse.c @@ -310,7 +310,7 @@ static int process_dunder(RemoteSource *source, char *line, size_t n) { return 0; } -int process_data(RemoteSource *source) { +static int process_data(RemoteSource *source) { int r; switch(source->state) { diff --git a/src/journal-remote/journal-remote-parse.h b/src/journal-remote/journal-remote-parse.h index 06a50296a1..14bfadc132 100644 --- a/src/journal-remote/journal-remote-parse.h +++ b/src/journal-remote/journal-remote-parse.h @@ -66,6 +66,5 @@ static inline size_t source_non_empty(RemoteSource *source) { } void source_free(RemoteSource *source); -int process_data(RemoteSource *source); int push_data(RemoteSource *source, const char *data, size_t size); int process_source(RemoteSource *source, bool compress, bool seal); |