diff options
| author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2019-01-24 10:12:36 +0100 |
|---|---|---|
| committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2019-01-24 11:21:59 +0100 |
| commit | 4d762f2607f07b55f464bae4ec0eb7fdf7c656a9 (patch) | |
| tree | c8e9c8056c9fec104ec152ccf254c282fa6a90c6 /lib/frr_pthread.c | |
| parent | 262d4dda2aa009f200370a4c4635899ceb85ab90 (diff) | |
Treewide: use ANSI function definitions
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'lib/frr_pthread.c')
| -rw-r--r-- | lib/frr_pthread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/frr_pthread.c b/lib/frr_pthread.c index d5a2007c4d..f964adfdbb 100644 --- a/lib/frr_pthread.c +++ b/lib/frr_pthread.c @@ -47,7 +47,7 @@ static struct list *frr_pthread_list; /* ------------------------------------------------------------------------ */ -void frr_pthread_init() +void frr_pthread_init(void) { pthread_mutex_lock(&frr_pthread_list_mtx); { @@ -57,7 +57,7 @@ void frr_pthread_init() pthread_mutex_unlock(&frr_pthread_list_mtx); } -void frr_pthread_finish() +void frr_pthread_finish(void) { pthread_mutex_lock(&frr_pthread_list_mtx); { @@ -178,7 +178,7 @@ int frr_pthread_stop(struct frr_pthread *fpt, void **result) return ret; } -void frr_pthread_stop_all() +void frr_pthread_stop_all(void) { pthread_mutex_lock(&frr_pthread_list_mtx); { |
