summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-11-08 12:54:59 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-11-08 12:54:59 +0000
commit8082b519e8eb7d4b72eb0bbea42ac126c4ce8d8c (patch)
tree1db91e3f2a917fe69d1b56dd56852adb9458e7a0 /sys/netinet/tcp_var.h
parent7b3a9f02e74287ece0a22b140146ed8e4ace729d (diff)
fix macros up so they use the do { } while (/* CONSTCOND */ 0) idiom
ok deraadt@ otto@
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index d197b088401..dcd291b0124 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_var.h,v 1.89 2008/05/24 19:48:32 thib Exp $ */
+/* $OpenBSD: tcp_var.h,v 1.90 2008/11/08 12:54:58 dlg Exp $ */
/* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */
/*
@@ -218,7 +218,7 @@ do { \
(tp)->t_flags |= TF_DELACK; \
TCP_RESTART_DELACK(tp); \
} \
-} while (/*CONSTCOND*/0)
+} while (/* CONSTCOND */ 0)
#define TCP_CLEAR_DELACK(tp) \
do { \
@@ -226,7 +226,7 @@ do { \
(tp)->t_flags &= ~TF_DELACK; \
timeout_del(&(tp)->t_delack_to); \
} \
-} while (/*CONSTCOND*/0)
+} while (/* CONSTCOND */ 0)
/*
* Handy way of passing around TCP option info.