diff options
author | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2023-08-06 19:44:37 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-09-11 10:15:30 +0200 |
commit | e22ebb893e2f44bd08f69f9ce4ccfc5e4d2990e2 (patch) | |
tree | 13268f1fb9c3f95b6e4cf8bb3631af0b9c97264f /include | |
parent | bbaeadb068c3289c7df3b7bea0049f70a648ba00 (diff) |
Bad function definition
void f() should probably be void f(void)
Found by running the checkpatch.pl Linux script to enforce coding style.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21468)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/e_os.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/internal/e_os.h b/include/internal/e_os.h index 6d15bc55ee..d0e903f653 100644 --- a/include/internal/e_os.h +++ b/include/internal/e_os.h @@ -152,7 +152,7 @@ static __inline unsigned int _strlen31(const char *str) # undef stdin # undef stdout # undef stderr -FILE *__iob_func(); +FILE *__iob_func(void); # define stdin (&__iob_func()[0]) # define stdout (&__iob_func()[1]) # define stderr (&__iob_func()[2]) @@ -304,12 +304,12 @@ struct servent *getservbyname(const char *name, const char *proto); # define gethostbyname(name) gethostbyname((char*)name) # define ioctlsocket(a,b,c) ioctl(a,b,c) # ifdef NO_GETPID -inline int nssgetpid(); +inline int nssgetpid(void); # ifndef NSSGETPID_MACRO # define NSSGETPID_MACRO # include <cextdecs.h(PROCESSHANDLE_GETMINE_)> # include <cextdecs.h(PROCESSHANDLE_DECOMPOSE_)> - inline int nssgetpid() + inline int nssgetpid(void) { short phandle[10]={0}; union pseudo_pid { |