[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trousers-cvs
Subject:    [Trousers-cvs] trousers/src/tcs/ps ps_utils.c
From:       Rajiv Andrade <phreakz () users ! sourceforge ! net>
Date:       2009-07-06 19:44:48
Message-ID: E1MNu7M-0000h0-Su () ddv4jf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/trousers/trousers/src/tcs/ps
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2654/src/tcs/ps

Modified Files:
	ps_utils.c 
Log Message:
ps_utils.c has a couple of functions labelled as "inline".
These do not compile or link cleanly on Solaris, the following
patch removes the "inline" from read_data and write_data functions.

Signed-off-by: Wyllys Ingersoll <wyllys.ingersoll@sun.com>
[Made it remove 'inline's only in Solaris compilations]
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>


Index: ps_utils.c
===================================================================
RCS file: /cvsroot/trousers/trousers/src/tcs/ps/ps_utils.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** ps_utils.c	29 Aug 2007 21:10:43 -0000	1.25
--- ps_utils.c	6 Jul 2009 19:44:46 -0000	1.26
***************
*** 32,36 ****
--- 32,40 ----
  
  
+ #ifdef SOLARIS
+ TSS_RESULT
+ #else
  inline TSS_RESULT
+ #endif
  read_data(int fd, void *data, UINT32 size)
  {
***************
*** 50,54 ****
--- 54,62 ----
  
  
+ #ifdef SOLARIS
+ TSS_RESULT
+ #else
  inline TSS_RESULT
+ #endif
  write_data(int fd, void *data, UINT32 size)
  {


------------------------------------------------------------------------------
_______________________________________________
Trousers-cvs mailing list
Trousers-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/trousers-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic