]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/system/RealMainP.nc
debug: add cfprintf macro
[tinyos-2.x.git] / tos / system / RealMainP.nc
index 22e77d31eb69efc3c76c4d3d47dfaf4fb70da6a9..37fb3f18565f8421370df55411c31df38bf7b297 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 
-/*                                                                     tab:4
+/*
  * "Copyright (c) 2000-2003 The Regents of the University  of California.  
  * All rights reserved.
  *
  * @date   January 17 2005
  */
 
-module RealMainP {
+module RealMainP @safe() {
   provides interface Boot;
   uses interface Scheduler;
   uses interface Init as PlatformInit;
   uses interface Init as SoftwareInit;
 }
 implementation {
-  int main() __attribute__ ((C, spontaneous)) {
+  int main() @C() @spontaneous() {
     atomic
       {
        /* First, initialize the Scheduler so components can post