diff options
Diffstat (limited to 'usr/src/lib/libnsl/dial/callers.c')
-rw-r--r-- | usr/src/lib/libnsl/dial/callers.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/lib/libnsl/dial/callers.c b/usr/src/lib/libnsl/dial/callers.c index c8d7a7a45f..11b09aeb2b 100644 --- a/usr/src/lib/libnsl/dial/callers.c +++ b/usr/src/lib/libnsl/dial/callers.c @@ -24,12 +24,13 @@ /* All Rights Reserved */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" +#include "mt.h" #include "uucp.h" static void alarmtr(int); @@ -49,8 +50,6 @@ static int Modemctrl; static unsigned connecttime; static int (*Setup)(); -extern int _fcntl(int, int, ...); - /* * to add a new caller: * declare the function that knows how to call on the device, @@ -275,8 +274,8 @@ processdev(char *flds[], char *dev[]) if (Modemctrl) { DEBUG(7, "clear O_NDELAY\n%s", ""); - if (_fcntl(dcf, F_SETFL, - (_fcntl(dcf, F_GETFL, 0) & ~O_NDELAY)) < 0) { + if (fcntl(dcf, F_SETFL, + (fcntl(dcf, F_GETFL, 0) & ~O_NDELAY)) < 0) { DEBUG(7, "clear O_NDELAY failed, errno %d\n", errno); Uerror = SS_DEVICE_FAILED; |