]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/src/outputs.c
Ensure all *.[ch] files include config.h
[i3/i3] / i3bar / src / outputs.c
index 841a7565c6e8257d2d79fe53b5e9d23ba57aeea2..480c00be7dd90a1b9e500b3074e87888da64bcbc 100644 (file)
@@ -7,6 +7,8 @@
  * outputs.c: Maintaining the outputs list
  *
  */
+#include "common.h"
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -15,8 +17,6 @@
 #include <yajl/yajl_parse.h>
 #include <yajl/yajl_version.h>
 
-#include "common.h"
-
 /* A datatype to pass through the callbacks to save the state */
 struct outputs_json_params {
     struct outputs_head *outputs;
@@ -271,7 +271,7 @@ void parse_outputs_json(char *json) {
 
     state = yajl_parse(handle, (const unsigned char *)json, strlen(json));
 
-    /* FIXME: Propper errorhandling for JSON-parsing */
+    /* FIXME: Proper errorhandling for JSON-parsing */
     switch (state) {
         case yajl_status_ok:
             break;