Thanks.  I fixed it.  It will be in ".12".
-- Dave

At 04:21 PM 6/10/2003 Tuesday, Eugene LiS User wrote:
Hi,

This is in the LiS-2.16.10.

OBSERVATION:
When freeing a lock only one parameter is needed - lock.

PROBLEM:
In the lislocks.h file:

The following macro definition is _correct_:

#define lis_rw_lock_free(lock)  \
  lis_rw_lock_free_fcn(lock,__FILE__,__LINE__)

Couple of lines below, the actual function prototype
is _INcorrect_:

lis_rw_lock_t *
  lis_rw_lock_free_fcn(lis_rw_lock_t *lock, const char *name, FL) ;
                                           ^^^^^^^^^^^^^^^^^
The *name parameter is not needed and has to be removed from the prototype.

In the lislocks.c file where that function is located, the same problem.
The *name parameter is listed as one of parameters, even though it
is not used and not needed. It also has to be removed there.

--
Eugene


__________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams


_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to