[babl] babl-mutex: Local headers first, remove unused



commit 96ca84efcfb41af79992660e989b32079053bb12
Author: Jon Nordby <jononor gmail com>
Date:   Wed Mar 18 16:19:24 2015 +0100

    babl-mutex: Local headers first, remove unused
    
    Ensures the feature macros are set for all includes,
    and that the public header does not implicitly rely
    on any of the headers included in .c file

 babl/babl-mutex.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/babl/babl-mutex.c b/babl/babl-mutex.c
index eacd372..708c54a 100644
--- a/babl/babl-mutex.c
+++ b/babl/babl-mutex.c
@@ -17,12 +17,10 @@
  */
 
 #include "config.h"
-#include <stdint.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
 #include "babl-mutex.h"
 
+#include <stdlib.h>
+
 BablMutex  *
 babl_mutex_new (void)
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]