]> sigrok.org Git - libsigrok.git/blobdiff - hardware/zeroplus-logic-cube/protocol.c
build: Portability fixes.
[libsigrok.git] / hardware / zeroplus-logic-cube / protocol.c
index 20adc389eea6679e2e46db4bff457772d98f645b..ce20ccf4012f1a5fadd9098b82ef32e10b0a8c50 100644 (file)
@@ -30,7 +30,7 @@ SR_PRIV unsigned int get_memory_size(int type)
                return 0;
 }
 
-SR_PRIV int clz(unsigned int x)
+static int clz(unsigned int x)
 {
        int n = 0;
        if (x == 0)