Should use void in argument params for C style functions.
The prototypes for functions like glEnd are slightly incorrect for C code (not for C++ code). They should have void in the argument parameters. The way they currently are has the arguments unspecified and not void. I believe the void parameter syntax is valid for C++ too so a simple fix would be to have this be done for all styles.