tapio / rlutil

C and C++ utilities for cross-platform console roguelike game creation.
http://tapio.github.com/rlutil/
229 stars 42 forks source link

Fix missing void argument in functions #43

Closed cxong closed 8 years ago

cxong commented 8 years ago

Proper C functions with no parameters should be of the form void foo(void); this also works for C++.

Without it, GCC will warn about strict prototypes.

See http://stackoverflow.com/q/51032/2038264

nabijaczleweli commented 8 years ago

:+1: