some stylistic fixes for discid

discid_new() is important so it shouldn't be hidden in the declarations.
The other things are just style/names.