1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00

Fixed some style bugs (unsorting of prototypes in previous commit, and

messes involving the idempotency guard).
This commit is contained in:
Bruce Evans 2004-05-05 15:12:55 +00:00
parent c043a33795
commit c7e459ed6c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128965

View File

@ -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_ */