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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168049 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dmitri Gribenko
2012-11-15 16:51:49 +00:00
parent 65f3f32100
commit 79c07d2a36
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;
}