summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-22 16:41:36 +0000
committerChristopher Faylor <me@cgf.cx>2005-09-22 16:41:36 +0000
commit7e7a719a8e28a1be4fbb59fe7d15b445b8ce272c (patch)
tree3ddde7b43a700d15a6944230085c5fda2f101a22
parentf3810c7281c1e3dca7df0b3e013c73c25bb98954 (diff)
downloadcygnal-7e7a719a8e28a1be4fbb59fe7d15b445b8ce272c.tar.gz
cygnal-7e7a719a8e28a1be4fbb59fe7d15b445b8ce272c.tar.bz2
cygnal-7e7a719a8e28a1be4fbb59fe7d15b445b8ce272c.zip
* include/sys/strace.h (_STRACE_ON): Remove semicolon from definition.
(_STRACE_OFF): Remove semicolon from definition.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/include/sys/strace.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 7c4c8a140..63ef597e9 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-22 Christopher Faylor <cgf@timesys.com>
+
+ * include/sys/strace.h (_STRACE_ON): Remove semicolon from definition.
+ (_STRACE_OFF): Remove semicolon from definition.
+
2005-09-22 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (fhandler_base::fstat_helper): Declare with additional
diff --git a/winsup/cygwin/include/sys/strace.h b/winsup/cygwin/include/sys/strace.h
index 859e1b2f8..e54e76ed4 100644
--- a/winsup/cygwin/include/sys/strace.h
+++ b/winsup/cygwin/include/sys/strace.h
@@ -79,8 +79,8 @@ extern strace strace;
#define _STRACE_THREAD 0x40000 // thread-locking calls
#define _STRACE_NOTALL 0x80000 // don't include if _STRACE_ALL
#if defined (DEBUGGING)
-# define _STRACE_ON strace.active = 1;
-# define _STRACE_OFF strace.active = 0;
+# define _STRACE_ON strace.active = 1
+# define _STRACE_OFF strace.active = 0
#else
# define _STRACE_ON
# define _STRACE_OFF