aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb4/g_phost.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/krb4/g_phost.c')
-rw-r--r--src/lib/krb4/g_phost.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/krb4/g_phost.c b/src/lib/krb4/g_phost.c
index 02643a8..c9ed5d3 100644
--- a/src/lib/krb4/g_phost.c
+++ b/src/lib/krb4/g_phost.c
@@ -48,11 +48,11 @@
* to the original "alias" argument is returned.
*/
-char FAR * KRB5_CALLCONV
+char * KRB5_CALLCONV
krb_get_phost(alias)
- char FAR *alias;
+ char *alias;
{
- struct hostent FAR *h;
+ struct hostent *h;
char *p;
unsigned char *ucp;
static char hostname_mem[MAXHOSTNAMELEN];
@@ -75,7 +75,7 @@ krb_get_phost(alias)
return (0);
}
#endif
- /* We don't want to return a FAR *, so we copy to a safe location. */
+ /* We don't want to return a *, so we copy to a safe location. */
strncpy (hostname_mem, h->h_name, sizeof (hostname_mem));
/* Bail out if h_name is too long. */
if (hostname_mem[MAXHOSTNAMELEN-1] != '\0')