From a031634bd64c7f30c4ace5ca06a5a47600b42f47 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 8 Oct 2020 01:29:12 -0700 Subject: *: more cosmetic formatting cleanups Making things a bit more consistent --- src/rmd_threads.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/rmd_threads.c') diff --git a/src/rmd_threads.c b/src/rmd_threads.c index 7facba0..40fe94a 100644 --- a/src/rmd_threads.c +++ b/src/rmd_threads.c @@ -47,7 +47,8 @@ #include #include -void rmdThreads(ProgData *pdata) { +void rmdThreads(ProgData *pdata) +{ pthread_t image_capture_t, image_encode_t, image_cache_t, @@ -170,6 +171,7 @@ void rmdThreads(ProgData *pdata) { pthread_join(timer_t,NULL); } -void rmdThreadsSetName(const char *name) { +void rmdThreadsSetName(const char *name) +{ prctl(PR_SET_NAME, (unsigned long)name, 0, 0, 0); } -- cgit v1.2.3