mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-06-02 12:54:26 +00:00
[all] use explicit void parameter lists
This makes it a compile-time error to call a function that semantically takes no parameters with a nonzero number of arguments. Previously, such code would still compile, but risk blowing up the stack if a compiler chose to use something other than caller-cleanup calling conventions.
This commit is contained in:
committed by
Geoffrey McRae
parent
dc17492750
commit
a46a3a2668
@@ -19,13 +19,13 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
int sysinfo_gfx_max_multisample()
|
||||
int sysinfo_gfx_max_multisample(void)
|
||||
{
|
||||
//FIXME: Implement this
|
||||
return 4;
|
||||
}
|
||||
|
||||
long sysinfo_getPageSize()
|
||||
long sysinfo_getPageSize(void)
|
||||
{
|
||||
SYSTEM_INFO si;
|
||||
GetSystemInfo(&si);
|
||||
|
||||
Reference in New Issue
Block a user