util: rename list_empty() to list_is_empty()
[mesa.git] / src / gallium / auxiliary / driver_ddebug / dd_draw.c
index 1d8e57767edf0db9a5572e91c0b9731b8542c631..b2ed5d5f13b40656efa69bbc0a6987556563bf3f 100644 (file)
@@ -1103,7 +1103,7 @@ dd_thread_main(void *input)
       if (dctx->api_stalled)
          cnd_signal(&dctx->cond);
 
-      if (list_empty(&records)) {
+      if (list_is_empty(&records)) {
          if (dctx->kill_thread)
             break;
 
@@ -1184,7 +1184,7 @@ dd_add_record(struct dd_context *dctx, struct dd_draw_record *record)
       dctx->api_stalled = false;
    }
 
-   if (list_empty(&dctx->records))
+   if (list_is_empty(&dctx->records))
       cnd_signal(&dctx->cond);
 
    list_addtail(&record->list, &dctx->records);