]> sigrok.org Git - libsigrok.git/commitdiff
kingst-la2016: sort include directives
authorGerhard Sittig <redacted>
Mon, 10 Jan 2022 21:14:14 +0000 (22:14 +0100)
committerGerhard Sittig <redacted>
Sun, 6 Feb 2022 17:53:53 +0000 (18:53 +0100)
src/hardware/kingst-la2016/api.c
src/hardware/kingst-la2016/protocol.c
src/hardware/kingst-la2016/protocol.h

index 3296a756bcf1f3588b0f974bbf4497c4ddc4fbf8..03edcf14c5e96929dbc6342807b27cac044d7515 100644 (file)
 /* mostly stolen from src/hardware/saleae-logic16/ */
 
 #include <config.h>
+
 #include <glib.h>
+#include <libsigrok/libsigrok.h>
 #include <libusb.h>
+#include <math.h>
 #include <stdlib.h>
 #include <string.h>
-#include <math.h>
-#include <libsigrok/libsigrok.h>
+
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index c275407b7a42111dba73822d28ca57ec56f04f31..c3e51722c4156522cd5429373dbbbc889f587943 100644 (file)
  */
 
 #include <config.h>
-#include <stdint.h>
-#include <string.h>
+
+#include <errno.h>
 #include <glib.h>
 #include <glib/gstdio.h>
-#include <stdio.h>
-#include <errno.h>
-#include <math.h>
 #include <inttypes.h>
 #include <libsigrok/libsigrok.h>
+#include <math.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <string.h>
+
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
index 8a778f31f4dfc5ecbcfb25fc3c1ac034893860c8..0de7a566b0a7cd443dc4966bbf128d90cb166ed6 100644 (file)
 #ifndef LIBSIGROK_HARDWARE_KINGST_LA2016_PROTOCOL_H
 #define LIBSIGROK_HARDWARE_KINGST_LA2016_PROTOCOL_H
 
-#include <stdint.h>
 #include <glib.h>
 #include <libsigrok/libsigrok.h>
-#include "libsigrok-internal.h"
+#include <stdint.h>
 
 #define LOG_PREFIX "kingst-la2016"