1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 11:55:44 +03:00

journal-remote: make process_data static

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-03-13 21:10:17 -05:00
parent 48861960ac
commit be7e1319ea
2 changed files with 1 additions and 2 deletions

View File

@ -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) {

View File

@ -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);