Use empty parens for empty function parameter list instead of '(void)'.

llvm-svn: 168049
This commit is contained in:
Dmitri Gribenko
2012-11-15 16:51:49 +00:00
parent 26491446b3
commit 0011bbf985
11 changed files with 23 additions and 23 deletions

View File

@@ -37,7 +37,7 @@ namespace {
next = seed;
}
int rand(void) {
int rand() {
next = next * 1103515245 + 12345;
return (unsigned int)(next / 65536) % 32768;
}