]> mj.ucw.cz Git - libucw.git/blobdiff - lib/profile.h
Added the local copy of the regex library back.
[libucw.git] / lib / profile.h
index 3fe2b975253cdb616a774ffd40849c1dfb97e56c..3704b449e6294e4d0599f0529c5cd44f1a620f74 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *     Sherlock Library -- Poor Man's Profiler
+ *     UCW Library -- Poor Man's Profiler
  *
  *     (c) 2001 Martin Mares <mj@ucw.cz>
  *
@@ -123,7 +123,7 @@ typedef struct prof_ktsc prof_t;
 static inline void prof_start(prof_t *c) { prof_switch(NULL, c); }
 static inline void prof_stop(prof_t *c) { prof_switch(c, NULL); }
 #endif
-#define PROF_STR(C) ({ static byte _x[PROF_STR_SIZE]; prof_format(_x, &(C)); _x; })
+#define PROF_STR(C) ({ static char _x[PROF_STR_SIZE]; prof_format(_x, &(C)); _x; })
 
 #else