]> sigrok.org Git - libsigrok.git/blobdiff - debug.c
libsigrok: Coding style fixes.
[libsigrok.git] / debug.c
diff --git a/debug.c b/debug.c
index 128eb03d6dfdc69b319583286a5231fe791c62f9..4f3215b5459d7c4f50d430edde7a526ed846079a 100644 (file)
--- a/debug.c
+++ b/debug.c
  */
 
 #include <stdio.h>
-#include "sigrok.h"
+#include <sigrok.h>
 
 void hexdump(unsigned char *address, int length)
 {
        int i;
 
-       for(i = 0; i < length; i++)
-       {
-               if((i & 0x0f) == 0)
-               {
-                       if(i)
+       for (i = 0; i < length; i++) {
+               if ((i & 0x0f) == 0) {
+                       if (i)
                                printf("\n");
                        printf("%.4x   ", i);
                }
                printf("%.2x ", address[i]);
        }
        printf("\n");
-
 }