]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add _cupsRWDestroy stub for the no-threading case.
authorMichael R Sweet <msweet@msweet.org>
Sat, 10 May 2025 19:56:20 +0000 (15:56 -0400)
committerMichael R Sweet <msweet@msweet.org>
Sat, 10 May 2025 19:56:20 +0000 (15:56 -0400)
cups/thread.c

index 57e3315adc9a8c4fb18018082777bba8156ff6cb..f010c7563dd9a5436697321baee394d6643244bb 100644 (file)
@@ -475,6 +475,17 @@ _cupsMutexUnlock(_cups_mutex_t *mutex)     /* I - Mutex */
 }
 
 
+/*
+ * '_cupsRWDestroy()' - Destroy a reader/writer lock.
+ */
+
+void
+_cupsRWDestroy(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */
+{
+  (void)rwlock;
+}
+
+
 /*
  * '_cupsRWInit()' - Initialize a reader/writer lock.
  */