Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys remove _ prefix from args
details: https://anonhg.NetBSD.org/src/rev/b28bebebb334
branches: trunk
changeset: 952694:b28bebebb334
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 15 00:44:09 2021 +0000
description:
remove _ prefix from args
diffstat:
sys/sys/mbuf.h | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (31 lines):
diff -r e6daad3b4380 -r b28bebebb334 sys/sys/mbuf.h
--- a/sys/sys/mbuf.h Sun Feb 14 22:48:17 2021 +0000
+++ b/sys/sys/mbuf.h Mon Feb 15 00:44:09 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbuf.h,v 1.228 2021/02/14 20:58:35 christos Exp $ */
+/* $NetBSD: mbuf.h,v 1.229 2021/02/15 00:44:09 christos Exp $ */
/*
* Copyright (c) 1996, 1997, 1999, 2001, 2007 The NetBSD Foundation, Inc.
@@ -844,14 +844,14 @@
}
static __inline int
-m_get_aligned_hdr(struct mbuf **_m, int _align, size_t _hlen, bool _linkhdr)
+m_get_aligned_hdr(struct mbuf **m, int align, size_t hlen, bool linkhdr)
{
- if (POINTER_ALIGNED_P(mtod(*_m, void *), _align) == 0)
- *_m = m_copyup(*_m, _hlen,
- _linkhdr ? (max_linkhdr + _align) & ~_align : 0);
- else if (__predict_false((*_m)->m_len < _hlen))
- *_m = m_pullup(*_m, _hlen);
- return *_m == NULL;
+ if (POINTER_ALIGNED_P(mtod(*m, void *), align) == 0)
+ *m = m_copyup(*m, hlen,
+ linkhdr ? (max_linkhdr + align) & ~align : 0);
+ else if (__predict_false((*m)->m_len < hlen))
+ *m = m_pullup(*m, hlen);
+ return *m == NULL;
}
void m_print(const struct mbuf *, const char *, void (*)(const char *, ...)
Home |
Main Index |
Thread Index |
Old Index