summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/port-aix.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2020-02-17 12:53:24 +0100
committerDarren Tucker <dtucker@dtucker.net>2020-02-17 12:53:24 +0100
commit31c9348c5e4e94e9913ec64b3ca6e15f68ba19e5 (patch)
treea872a4776484d905c5d2aac8b66e8c8d4de690eb /openbsd-compat/port-aix.h
parentCheck if TILDE is already defined and undef. (diff)
downloadopenssh-31c9348c5e4e94e9913ec64b3ca6e15f68ba19e5.tar.xz
openssh-31c9348c5e4e94e9913ec64b3ca6e15f68ba19e5.zip
Constify aix_krb5_get_principal_name.
Prevents warning about discarding type qualifiers on AIX.
Diffstat (limited to '')
-rw-r--r--openbsd-compat/port-aix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h
index 904de3096..0ee366140 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -97,7 +97,7 @@ char *sys_auth_get_lastlogin_msg(const char *, uid_t);
# define CUSTOM_FAILED_LOGIN 1
# if defined(S_AUTHDOMAIN) && defined (S_AUTHNAME)
# define USE_AIX_KRB_NAME
-char *aix_krb5_get_principal_name(char *);
+char *aix_krb5_get_principal_name(const char *);
# endif
#endif