]> sigrok.org Git - libsigrok.git/blobdiff - output/output_binary.c
input/output formats: Explicit struct member names.
[libsigrok.git] / output / output_binary.c
index 076d497ce2b5c9a2f6d04796ebd3fd3a104c0539..fb7c3f588c103a3a3f232f091b281ee850e85210 100644 (file)
@@ -43,10 +43,10 @@ static int data(struct sr_output *o, const char *data_in, uint64_t length_in,
 }
 
 struct sr_output_format output_binary = {
-       "binary",
-       "Raw binary",
-       SR_DF_LOGIC,
-       NULL,
-       data,
-       NULL,
+       .extension = "binary",
+       .description = "Raw binary",
+       .df_type = SR_DF_LOGIC,
+       .init = NULL,
+       .data = data,
+       .event = NULL,
 };