]> git.ipfire.org Git - thirdparty/make.git/commit
Use (void) rather than () in function declarations
authorPaul Smith <psmith@gnu.org>
Sat, 15 Oct 2022 21:03:21 +0000 (17:03 -0400)
committerPaul Smith <psmith@gnu.org>
Sat, 15 Oct 2022 22:39:32 +0000 (18:39 -0400)
commitc453f898a00db16e3fc3648ffd65fcf3a23dc806
tree7e987e1b3543220bd557bd70f9d9a2e6f365a192
parent18c4b508ef24596470b64ddf058c0115ac75fbc2
Use (void) rather than () in function declarations

In C, a function declaration with () allows any set of arguments.
Use (void) to mean "no arguments".

* src/dep.h: Switch () to (void) for functions with no arguments.
* src/makeint.h: Ditto.
* src/os.h: Ditto.
* src/shuffle.h: Ditto.
* src/variable.h: Ditto.
src/dep.h
src/makeint.h
src/os.h
src/shuffle.h
src/variable.h