[openssh-commits] [openssh] branch master updated: upstream: ssh_gssapi_cleanup_global_client() needs a prototype
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Oct 7 20:14:15 AEDT 2026
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new d549f99da upstream: ssh_gssapi_cleanup_global_client() needs a prototype
d549f99da is described below
commit d549f99da344c178c5f632a62a6aa60544d7236e
Author: robert at openbsd.org <robert at openbsd.org>
AuthorDate: Wed Oct 7 09:00:11 2026 +0000
upstream: ssh_gssapi_cleanup_global_client() needs a prototype
ok dtucker@
/usr/src/usr.bin/ssh/ssh/../ssh-gss.h:115:38: error: a function
declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
115 | void ssh_gssapi_cleanup_global_client();
| ^
| void
1 error generated.
OpenBSD-Commit-ID: a1cf776a4fa4b2760ea51236b58b3688df685906
---
gss-serv.c | 4 ++--
ssh-gss.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gss-serv.c b/gss-serv.c
index 16f653202..32eaa4de0 100644
--- a/gss-serv.c
+++ b/gss-serv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gss-serv.c,v 1.39 2026/09/16 00:37:52 djm Exp $ */
+/* $OpenBSD: gss-serv.c,v 1.40 2026/10/07 09:00:11 robert Exp $ */
/*
* Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
@@ -368,7 +368,7 @@ ssh_gssapi_do_child(char ***envp, u_int *envsizep)
}
void
-ssh_gssapi_cleanup_global_client()
+ssh_gssapi_cleanup_global_client(void)
{
OM_uint32 lmin;
diff --git a/ssh-gss.h b/ssh-gss.h
index 3648c6d04..d3cf70124 100644
--- a/ssh-gss.h
+++ b/ssh-gss.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-gss.h,v 1.18 2026/09/16 00:37:52 djm Exp $ */
+/* $OpenBSD: ssh-gss.h,v 1.19 2026/10/07 09:00:11 robert Exp $ */
/*
* Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
*
@@ -133,7 +133,7 @@ void ssh_gssapi_do_child(char ***, u_int *);
void ssh_gssapi_cleanup_creds(void);
void ssh_gssapi_storecreds(void);
const char *ssh_gssapi_displayname(void);
-void ssh_gssapi_cleanup_global_client();
+void ssh_gssapi_cleanup_global_client(void);
#endif /* GSSAPI */
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list