]> sigrok.org Git - libsigrok.git/commitdiff
rdtech-um: alpha-sort and group include directives
authorGerhard Sittig <redacted>
Wed, 15 Mar 2023 16:00:41 +0000 (17:00 +0100)
committerGerhard Sittig <redacted>
Thu, 16 Mar 2023 13:29:30 +0000 (14:29 +0100)
Put <config.h> first. Then system headers. Then application headers.

src/hardware/rdtech-um/api.c
src/hardware/rdtech-um/protocol.c

index a35c038cfa830ac4f86ccdc40a62452630d41ffd..31c77071301f16115bb564a598d5b53a7023705d 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-
 #include <config.h>
+
 #include <glib.h>
-#include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
+#include <libsigrok/libsigrok.h>
 #include <string.h>
+#include <sys/types.h>
+#include <sys/stat.h>
 
-#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
-
 #include "protocol.h"
 
 #define RDTECH_UM_SERIALCOMM "115200/8n1"
index 54416f6c1456f6a477ce3356a8e6ffacbe58e13e..019af105db9d5bacbee82e714e442361c2624145 100644 (file)
  */
 
 #include <config.h>
-#include <stdlib.h>
-#include <math.h>
-#include <string.h>
+
 #include <glib.h>
 #include <libsigrok/libsigrok.h>
+#include <math.h>
+#include <stdlib.h>
+#include <string.h>
+
 #include "libsigrok-internal.h"
 #include "protocol.h"