[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/handhelds/tos/lib/UIP TimeM.nc, 1.1, 1.2

steve ayer ayer1 at users.sourceforge.net
Mon Apr 20 08:59:00 PDT 2009


Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/lib/UIP
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17030

Modified Files:
	TimeM.nc 
Log Message:

added prototype for snprintf; current nesc compilers no longer
tolerate its implicit use.


Index: TimeM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/lib/UIP/TimeM.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TimeM.nc	29 Jul 2005 18:29:26 -0000	1.1
--- TimeM.nc	20 Apr 2009 15:58:57 -0000	1.2
***************
*** 36,39 ****
--- 36,40 ----
  implementation {
  
+   extern int snprintf(char *str, size_t len, const char *format, ...) __attribute__ ((C));
  
    //#define TZNAME_MAX 7



More information about the Tinyos-contrib-commits mailing list