From c7e459ed6c95f1ad522d898f478ca67e43a2144e Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 5 May 2004 15:12:55 +0000 Subject: [PATCH] Fixed some style bugs (unsorting of prototypes in previous commit, and messes involving the idempotency guard). --- sys/libkern/quad.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/libkern/quad.h b/sys/libkern/quad.h index c6732ce96207..5100bef033a5 100644 --- a/sys/libkern/quad.h +++ b/sys/libkern/quad.h @@ -34,8 +34,8 @@ * $FreeBSD$ */ -#ifndef _LIBKERN_QUAD_H -#define _LIBKERN_QUAD_H +#ifndef _LIBKERN_QUAD_H_ +#define _LIBKERN_QUAD_H_ /* * Quad arithmetic. @@ -97,16 +97,16 @@ union uu { #define LHALF(x) ((x) & ((1 << HALF_BITS) - 1)) #define LHUP(x) ((x) << HALF_BITS) +typedef unsigned int qshift_t; + +quad_t __ashldi3(quad_t, qshift_t); +quad_t __ashrdi3(quad_t, qshift_t); quad_t __divdi3(quad_t a, quad_t b); +quad_t __lshrdi3(quad_t, qshift_t); quad_t __moddi3(quad_t a, quad_t b); u_quad_t __qdivrem(u_quad_t u, u_quad_t v, u_quad_t *rem); u_quad_t __udivdi3(u_quad_t a, u_quad_t b); u_quad_t __umoddi3(u_quad_t a, u_quad_t b); int __ucmpdi2(u_quad_t a, u_quad_t b); -typedef unsigned int qshift_t; - -quad_t __ashldi3(quad_t, qshift_t); -quad_t __ashrdi3(quad_t, qshift_t); -quad_t __lshrdi3(quad_t, qshift_t); -#endif /* _LIBKERN_QUAD_H */ +#endif /* !_LIBKERN_QUAD_H_ */