opt: add opt_unregister.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 4 Feb 2020 01:10:36 +0000 (11:40 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 4 Feb 2020 01:10:36 +0000 (11:40 +1030)
commitc36444e062622d97e4368670f5c50f0c482a3a95
tree052f82002faaa62675f2eeddb22c8485442541eb
parenta1f9c169fec59ea257256ef5d18ccba05635e7ac
opt: add opt_unregister.

Sometimes we all make mistakes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/opt/opt.c
ccan/opt/opt.h
ccan/opt/test/run-unregister.c [new file with mode: 0644]