]> sigrok.org Git - sigrok-cli.git/commit
Add struct sr_context * to sr_driver_init() calls
authorPeter Stuge <redacted>
Sun, 21 Oct 2012 18:43:32 +0000 (20:43 +0200)
committerPeter Stuge <redacted>
Mon, 3 Dec 2012 03:10:16 +0000 (04:10 +0100)
commite2fe62cc46b53689105f2434c35cabb238f369b0
treed29b60f3fd1c0d1bbbe2b560e91f10456d27168d
parentf1f703bf0dc63e2b6149f4cfba294253991d04f7
Add struct sr_context * to sr_driver_init() calls

libsigrok.git commit 193691ae1590eb31025d943ffbb0ea5c1047e6ca changes
the API of sr_driver_init() to take a struct sr_context * parameter as
allocated by sr_init().

Move our struct sr_context *sr_ctx out of main() into file global scope
so that it can be used easily in all calls to sr_driver_init().
sigrok-cli.c