Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Put the #ifdef where it belongs (after defining the ...
details: https://anonhg.NetBSD.org/src/rev/ff46c07fc152
branches: trunk
changeset: 840141:ff46c07fc152
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Mar 25 09:59:59 2019 +0000
description:
Put the #ifdef where it belongs (after defining the out2 label which is
referenced only inside #ifdef block)
diffstat:
sys/net/if_tap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 22c5adb62de7 -r ff46c07fc152 sys/net/if_tap.c
--- a/sys/net/if_tap.c Mon Mar 25 09:47:17 2019 +0000
+++ b/sys/net/if_tap.c Mon Mar 25 09:59:59 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tap.c,v 1.108 2019/03/25 09:32:25 pgoyette Exp $ */
+/* $NetBSD: if_tap.c,v 1.109 2019/03/25 09:59:59 pgoyette Exp $ */
/*
* Copyright (c) 2003, 2004, 2008, 2009 The NetBSD Foundation.
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.108 2019/03/25 09:32:25 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.109 2019/03/25 09:59:59 pgoyette Exp $");
#if defined(_KERNEL_OPT)
@@ -296,8 +296,8 @@
out1:
#ifdef _MODULE
devsw_attach("tap", NULL, &tap_bmajor, &tap_cdevsw, &tap_cmajor);
+ out2:
#endif
- out2:
if_clone_attach(&tap_cloners);
return error;
Home |
Main Index |
Thread Index |
Old Index