aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-05-09 14:11:35 +0000
committerWarner Losh <imp@FreeBSD.org>2018-05-09 14:11:35 +0000
commit603bbd06318421b31b3bc1c8924190cfb9f34286 (patch)
tree0410985d3ae8f5f7424a973fa7cfb18dffc4bfaa /sys/netinet
parent5e37f7b3672d789f743d029c414ab0bff78bd601 (diff)
downloadsrc-603bbd06318421b31b3bc1c8924190cfb9f34286.tar.gz
src-603bbd06318421b31b3bc1c8924190cfb9f34286.zip
Minor style nits
Use full copyright year. Remove 'All Rights Reserved' from new file (rights holder OK'd) Minor #ifdef motion and #endif tagging Remove __FBSDID macro from comments Sponsored by: Netflix OK'd by: rrs@
Notes
Notes: svn path=/head/; revision=333409
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_hpts.c3
-rw-r--r--sys/netinet/tcp_hpts.h14
2 files changed, 8 insertions, 9 deletions
diff --git a/sys/netinet/tcp_hpts.c b/sys/netinet/tcp_hpts.c
index b3b8c9c0bb84..64a33b2795ff 100644
--- a/sys/netinet/tcp_hpts.c
+++ b/sys/netinet/tcp_hpts.c
@@ -1,6 +1,5 @@
/*-
- * Copyright (c) 2016-8
- * Netflix Inc. All rights reserved.
+ * Copyright (c) 2016-2018 Netflix Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/sys/netinet/tcp_hpts.h b/sys/netinet/tcp_hpts.h
index c5a3a5f197bd..c8ecc0e39b5f 100644
--- a/sys/netinet/tcp_hpts.h
+++ b/sys/netinet/tcp_hpts.h
@@ -1,8 +1,5 @@
-#ifndef __tcp_hpts_h__
-#define __tcp_hpts_h__
/*-
- * Copyright (c) 2016-8
- * Netflix Inc. All rights reserved.
+ * Copyright (c) 2016-18 Netflix Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -25,9 +22,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * __FBSDID("$FreeBSD$")
+ * $FreeBSD$
*/
+#ifndef __tcp_hpts_h__
+#define __tcp_hpts_h__
+
/*
* The hpts uses a 102400 wheel. The wheel
* defines the time in 10 usec increments (102400 x 10).
@@ -300,5 +300,5 @@ tcp_get_usecs(struct timeval *tv)
return (tcp_tv_to_usectick(tv));
}
-#endif
-#endif
+#endif /* _KERNEL */
+#endif /* __tcp_hpts_h__ */