Module Name: src
Committed By: christos
Date: Sat Feb 27 21:37:35 UTC 2016
Modified Files:
src/sys/sys: endian.h
Log Message:
put unused before the function name for consistency.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/sys/endian.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/endian.h
diff -u src/sys/sys/endian.h:1.29 src/sys/sys/endian.h:1.30
--- src/sys/sys/endian.h:1.29 Tue Mar 18 10:28:37 2014
+++ src/sys/sys/endian.h Sat Feb 27 16:37:35 2016
@@ -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 @@ __END_DECLS
#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 @@ __GEN_ENDIAN_ENC(64, le)
#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; \