diff options
author | Arjun <pkillarjun@protonmail.com> | 2024-05-09 20:47:08 +0530 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2024-05-22 17:14:53 -0400 |
commit | 623d649ba852839ba4822934bad9f97c184bf3ab (patch) | |
tree | 077db06826b6bc4800fff815cdcc452d9ec11888 /src/include/port-sockets.h | |
parent | d035119c3b2b402f3ad49a4c7b6264826ea923bb (diff) | |
download | krb5-623d649ba852839ba4822934bad9f97c184bf3ab.zip krb5-623d649ba852839ba4822934bad9f97c184bf3ab.tar.gz krb5-623d649ba852839ba4822934bad9f97c184bf3ab.tar.bz2 |
Fix more non-prototype functions
Add "void" designations to more function declarations and definitions
not changed by commits 3ae9244cd021a75eba909d872a92c25db490714d and
4b9d7f7c107f01a61600fddcd8cde3812d0366a2.
[ghudson@mit.edu: change additional functions; split into two commits;
rewrote commit message]
Diffstat (limited to 'src/include/port-sockets.h')
-rw-r--r-- | src/include/port-sockets.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/port-sockets.h b/src/include/port-sockets.h index 57e5d1d..228e4cf 100644 --- a/src/include/port-sockets.h +++ b/src/include/port-sockets.h @@ -111,7 +111,7 @@ static __inline void TranslatedWSASetLastError(int posix_error) * Translate Winsock errors to their POSIX counterparts. This is necessary for * MSVC 2010+, where both Winsock and POSIX errors are defined. */ -static __inline int TranslatedWSAGetLastError() +static __inline int TranslatedWSAGetLastError(void) { int err = WSAGetLastError(); switch (err) { |