]> sigrok.org Git - libsigrok.git/blobdiff - output/text/hex.c
sr: input/output: Mark more symbols with SR_PRIV.
[libsigrok.git] / output / text / hex.c
index 9c74d7302dc822a1d5d602dd40d784dd1aaf1aa8..964cb9ccb69e69e0c7ca676b4d417a8f3de53ae8 100644 (file)
 #include "sigrok.h"
 #include "text.h"
 
-int init_hex(struct sr_output *o)
+SR_PRIV int init_hex(struct sr_output *o)
 {
        return init(o, DEFAULT_BPL_HEX, MODE_HEX);
 }
 
-int data_hex(struct sr_output *o, const char *data_in, uint64_t length_in,
-            char **data_out, uint64_t *length_out)
+SR_PRIV int data_hex(struct sr_output *o, const char *data_in,
+                    uint64_t length_in, char **data_out, uint64_t *length_out)
 {
        struct context *ctx;
        unsigned int outsize, offset, p;
@@ -89,7 +89,7 @@ int data_hex(struct sr_output *o, const char *data_in, uint64_t length_in,
        return SR_OK;
 }
 
-struct sr_output_format output_text_hex = {
+SR_PRIV struct sr_output_format output_text_hex = {
        .id = "hex",
        .description = "Hexadecimal (takes argument, default 192)",
        .df_type = SR_DF_LOGIC,