diff --git a/hardsup/serialsinq.c b/hardsup/serialsinq.c index 5edd3c2a..abe90227 100644 --- a/hardsup/serialsinq.c +++ b/hardsup/serialsinq.c @@ -71,8 +71,6 @@ #define True 1 #define False 0 -extern int AsynSrv_Force( struct AsynSrv__info *asyn_info); - struct SerialInfo { int skt; int iForce; @@ -181,7 +179,7 @@ extern int AsynSrv_Force( struct AsynSrv__info *asyn_info); my_info->sAsync.port = iPort; strcpy(my_info->sAsync.host,pHost); my_info->sAsync.chan = iChannel; - status = AsynSrv_Force (&(my_info->sAsync)); + status = AsynSrv_OpenNew (&(my_info->sAsync)); if (status != 1) { return OPENFAILURE; }