Hello,

I'm compiling with LiS 2.15 .  Redhat Linux 7.2 .

In the lislocks.h file the following lines seem to be inconsistent:

#define lis_spin_lock_alloc(lock,name)  \            
lis_spin_lock_alloc_fcn(lock,name,__FILE__,__LINE__)

lis_spin_lock_t *                                      
        lis_spin_lock_alloc_fcn(const char *name, FL) ;

In definition 4 parameters are passed to the function,
but in function prototype only 3 parameters mentioned.
The 'lock' parameter is skipped.


Similar issue with:

#define lis_spin_lock_free(lock)        \
  lis_spin_lock_free_fcn(lock,__FILE__,__LINE__)

lis_spin_lock_t *
  lis_spin_lock_free_fcn(lis_spin_lock_t *lock, const char *name, FL) ;
                                                                           Definition 
assumes 3 parameters.
Whereas function prototype adds *name which makes it 4 parameters total.

What is the purpose of that?

thanks,
--
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

Reply via email to