Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys put unused before the function name for consistency.



details:   https://anonhg.NetBSD.org/src/rev/b4c690fff1f7
branches:  trunk
changeset: 813968:b4c690fff1f7
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 27 21:37:35 2016 +0000

description:
put unused before the function name for consistency.

diffstat:

 sys/sys/endian.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8f3c24ca75d1 -r b4c690fff1f7 sys/sys/endian.h
--- a/sys/sys/endian.h  Sat Feb 27 21:37:14 2016 +0000
+++ b/sys/sys/endian.h  Sat Feb 27 21:37:35 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: endian.h,v 1.29 2014/03/18 14:28:37 riastradh Exp $    */
+/*     $NetBSD: endian.h,v 1.30 2016/02/27 21:37:35 christos Exp $     */
 
 /*
  * Copyright (c) 1987, 1991, 1993
@@ -193,7 +193,7 @@
 #if __GNUC_PREREQ__(2, 95)
 
 #define __GEN_ENDIAN_ENC(bits, endian) \
-static __inline __unused void \
+static __inline void __unused \
 endian ## bits ## enc(void *dst, uint ## bits ## _t u) \
 { \
        u = hto ## endian ## bits (u); \
@@ -209,7 +209,7 @@
 #undef __GEN_ENDIAN_ENC
 
 #define __GEN_ENDIAN_DEC(bits, endian) \
-static __inline __unused uint ## bits ## _t \
+static __inline uint ## bits ## _t __unused \
 endian ## bits ## dec(const void *buf) \
 { \
        uint ## bits ## _t u; \



Home | Main Index | Thread Index | Old Index