krb5 commit: Remove redeclaration of ttyname() in ksu
Greg Hudson
ghudson at mit.edu
Fri Nov 18 13:52:44 EST 2016
https://github.com/krb5/krb5/commit/6ee24f97b98f9c045632b1ce0670a3eb508cb833
commit 6ee24f97b98f9c045632b1ce0670a3eb508cb833
Author: Zentaro Kavanagh <zentaro at google.com>
Date: Wed Nov 16 13:58:06 2016 -0800
Remove redeclaration of ttyname() in ksu
ttyname() is declared in unistd.h. Redeclaring it causes an
issue building with clang fortify on Chrome OS.
ticket: 8518 (new)
src/clients/ksu/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/clients/ksu/main.c b/src/clients/ksu/main.c
index 28342c2..7ff676c 100644
--- a/src/clients/ksu/main.c
+++ b/src/clients/ksu/main.c
@@ -932,7 +932,7 @@ int standard_shell(sh)
static char * ontty()
{
- char *p, *ttyname();
+ char *p;
static char buf[MAXPATHLEN + 5];
int result;
More information about the cvs-krb5
mailing list