Remove unneeded extern lines while there. Also add convenience method to get CtlType from CtlValue.
Some of the doc examples no longer compiled, so were misleading examples. This diff removes all the 'ignore' annotations from the doc examples and makes them compile and pass on FreeBSD 12 and Ubuntu 20.
Remove unneeded extern lines while there. Also add convenience method to get CtlType from CtlValue.
Some of the doc examples no longer compiled, so were misleading examples. This diff removes all the 'ignore' annotations from the doc examples and makes them compile and pass on FreeBSD 12 and Ubuntu 20.