]> sigrok.org Git - libsigrok.git/blobdiff - output/text/hex.c
Change SIGROK_ prefix to SR_.
[libsigrok.git] / output / text / hex.c
index 39f12134988017ed37953de44b5433f093362612..943ce01cee6420da10627f55699e69ff6b3e4e24 100644 (file)
@@ -46,7 +46,7 @@ int data_hex(struct output *o, char *data_in, uint64_t length_in,
                        / ctx->samples_per_line * max_linelen + 512;
 
        if (!(outbuf = calloc(1, outsize + 1)))
-               return SIGROK_ERR_MALLOC;
+               return SR_ERR_MALLOC;
 
        outbuf[0] = '\0';
        if (ctx->header) {
@@ -87,7 +87,7 @@ int data_hex(struct output *o, char *data_in, uint64_t length_in,
        *data_out = outbuf;
        *length_out = strlen(outbuf);
 
-       return SIGROK_OK;
+       return SR_OK;
 }