]> git.ozlabs.org Git - petitboot/commit
lib/process: Cleanup stdout callback
authorGeoff Levand <geoff@infradead.org>
Thu, 2 Aug 2018 17:29:35 +0000 (17:29 +0000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 7 Aug 2018 01:30:36 +0000 (11:30 +1000)
commit214de247193d14a2de014e5e4cad1ab3df956c13
tree02b144e050bda45fe8a32625c6daa459f86a7b87
parentecc2146363f272c5e34a4878d2144a01041d453f
lib/process: Cleanup stdout callback

General cleanup of async stdout processing.

The process_stdout_cb and process_stdout_custom routines were doing the
same thing, so rename process_stdout_custom to process_process_stdout
and make process_stdout_cb a wrapper that calls process_process_stdout.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/paths.c
lib/process/process.c
lib/process/process.h