]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/types/TinyError.h
Fix compile crash.
[tinyos-2.x.git] / tos / types / TinyError.h
index a306ce5a1676f5dec3e50f4a6b4e37329057d44b..b9767ae6580d1366c185991b1d6ecb8c82d683a0 100644 (file)
@@ -1,5 +1,5 @@
 // $Id$
-/*                                                                     tab:4
+/*
  * "Copyright (c) 2000-2005 The Regents of the University  of California.  
  * All rights reserved.
  *
@@ -55,7 +55,7 @@ enum {
 
 typedef uint8_t error_t NESC_COMBINE("ecombine");
 
-error_t ecombine(error_t r1, error_t r2)
+error_t ecombine(error_t r1, error_t r2) @safe()
 /* Returns: r1 if r1 == r2, FAIL otherwise. This is the standard error
      combination function: two successes, or two identical errors are
      preserved, while conflicting errors are represented by FAIL.