]> sigrok.org Git - libsigrok.git/blobdiff - input/input_binary.c
input/output formats: Explicit struct member names.
[libsigrok.git] / input / input_binary.c
index be67f2d2d33767e8f9b59f5ee7356d38197193b0..e89dc84c1ed6f4d839a2a062154a18bbe4c169d1 100644 (file)
@@ -99,9 +99,9 @@ static int loadfile(struct sr_input *in, const char *filename)
 }
 
 struct sr_input_format input_binary = {
-       "binary",
-       "Raw binary",
-       format_match,
-       init,
-       loadfile,
+       .extension = "binary",
+       .description = "Raw binary",
+       .format_match = format_match,
+       .init = init,
+       .loadfile = loadfile,
 };