commit 104f8181ce3830f486c9c3ad7a59bb742784482c parent e30266e329589517f838b4a045c3e32a00524470 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Aug 16 11:26:05 +0200 Add some consts Diffstat:
work_queue.cc | | | 4 | ++-- |
diff --git a/work_queue.cc b/work_queue.cc @@ -24,8 +24,8 @@ static bool workqueue_step( WorkQueue * const queue ) { return false; } -static void * workqueue_worker( void * data ) { - WorkQueue * queue = ( WorkQueue * ) data; +static void * workqueue_worker( void * const data ) { + WorkQueue * const queue = ( WorkQueue * const ) data; for( ;; ) { if( !workqueue_step( queue ) ) {