[svn-commits] qwell: trunk r40833 - /trunk/main/asterisk.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Mon Aug 21 22:34:45 MST 2006
Author: qwell
Date: Tue Aug 22 00:34:44 2006
New Revision: 40833
URL: http://svn.digium.com/view/asterisk?rev=40833&view=rev
Log:
Solaris didn't like this.
Let's just go ahead and make this match every other uintXX_t in Asterisk.
Modified:
trunk/main/asterisk.c
Modified: trunk/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/trunk/main/asterisk.c?rev=40833&r1=40832&r2=40833&view=diff
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Tue Aug 22 00:34:44 2006
@@ -405,7 +405,7 @@
#if defined(__FreeBSD__)
#include <machine/cpufunc.h>
#elif defined(linux)
-static __inline u_int64_t
+static __inline uint64_t
rdtsc(void)
{
uint64_t rv;
@@ -415,7 +415,7 @@
}
#endif
#else /* supply a dummy function on other platforms */
-static __inline u_int64_t
+static __inline uint64_t
rdtsc(void)
{
return 0;
More information about the svn-commits
mailing list