[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/safe/include/deputy checks.h, 1.1, 1.2
John Regehr
regehr at users.sourceforge.net
Wed Jul 2 20:11:56 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/safe/include/deputy
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32313
Modified Files:
checks.h
Log Message:
__deputy_memset is just memset
Index: checks.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/safe/include/deputy/checks.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** checks.h 31 May 2008 20:19:21 -0000 1.1
--- checks.h 3 Jul 2008 03:11:54 -0000 1.2
***************
*** 57,69 ****
int deputy_findnull(const void *e1, unsigned int sz);
- //Define deputy_memset, which we use to initialize locals
- //FIXME: We should set __deputy_memset = __builtin_memset to take advantage
- //of optimizations. How do we do that in a portable way?
- #if defined(memset) && !defined(IN_DEPUTY_LIBRARY)
#define __deputy_memset memset
- #else
- extern asmlinkage
- void *__deputy_memset(void *s, int c, unsigned int n);
- #endif
#if defined(DEPUTY_FAST_CHECKS)
--- 57,61 ----
More information about the Tinyos-2-commits
mailing list