diff --git a/cdr.c b/cdr.c
index fc5f92968e5a4da9ed0acdc31a252e597dfd20a6..ac727a676ac6f11f0e9a1b9655b8d2fdfe9792a7 100755
--- a/cdr.c
+++ b/cdr.c
@@ -81,7 +81,7 @@ AST_MUTEX_DEFINE_STATIC(cdr_batch_lock);
 
 /* these are used to wake up the CDR thread when there's work to do */
 AST_MUTEX_DEFINE_STATIC(cdr_pending_lock);
-pthread_cond_t cdr_pending_cond;
+static pthread_cond_t cdr_pending_cond;
 
 /*
  * We do a lot of checking here in the CDR code to try to be sure we don't ever let a CDR slip