]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/infra/v2_0/include/cyg_trac.h
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / infra / v2_0 / include / cyg_trac.h
index d2529183ca0d9be06650ca547b08377007fcaeaa..473d630498569d10c6851fa96cd3e14091f8e419 100644 (file)
@@ -615,7 +615,7 @@ public:
     const char *file;
     cyg_uint32 lnum;
 #ifdef CYGDBG_INFRA_DEBUG_TRACE_MESSAGE
-    char *exitmsg;
+    const char *exitmsg;
     CYG_ADDRWORD exitvalue;
     enum { UNSET = 0, SET, VOID } exitset;
 #endif
@@ -642,7 +642,7 @@ public:
 
     Cyg_TraceFunction_Report_(
         int condition, const char *psz_func, const char *psz_file, 
-        cyg_uint32 linenum, char *psz_exitmsg )
+        cyg_uint32 linenum, const char *psz_exitmsg )
     {
         cond = condition;
         func = psz_func;
@@ -654,7 +654,7 @@ public:
         if ( cond )
             cyg_tracemsg( cyg_trace_enter, func, file, lnum, "enter");
 #else
-        CYG_UNUSED_PARAM( char *, psz_exitmsg );
+        CYG_UNUSED_PARAM( const char *, psz_exitmsg );
         if ( cond )
             cyg_tracenomsg( func, file, lnum );
 #endif
@@ -768,11 +768,11 @@ CYG_MACRO_END
 struct Cyg_TraceFunction_Report_
 {
     int   cond;
-    char *func;
-    char *file; /* not strictly needed in plain 'C' */
+    const char *func;
+    const char *file; /* not strictly needed in plain 'C' */
     cyg_uint32 lnum; /* nor this */
 #ifdef CYGDBG_INFRA_DEBUG_TRACE_MESSAGE
-    char *exitmsg;
+    const char *exitmsg;
     CYG_ADDRWORD exitvalue;
     int exitset;
 #endif