Skip to content

Commit

Permalink
Merge pull request #331 from DavidKorczynski/static-name-fix
Browse files Browse the repository at this point in the history
logging: add missing static keyword
  • Loading branch information
rhatdan authored Apr 10, 2022
2 parents 781e16c + c61367c commit f134a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctr_logging.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ bool write_to_logs(stdpipe_t pipe, char *buf, ssize_t num_read)
* otherwise, write with error priority. Partial lines (that don't end in a newline) are buffered
* between invocations. A 0 buflen argument forces a buffered partial line to be flushed.
*/
int write_journald(int pipe, char *buf, ssize_t buflen)
static int write_journald(int pipe, char *buf, ssize_t buflen)
{
static char stdout_partial_buf[STDIO_BUF_SIZE];
static size_t stdout_partial_buf_len = 0;
Expand Down

0 comments on commit f134a29

Please sign in to comment.