Solaris didn't like this.
authorJason Parker <jparker@digium.com>
Tue, 22 Aug 2006 05:34:44 +0000 (05:34 +0000)
committerJason Parker <jparker@digium.com>
Tue, 22 Aug 2006 05:34:44 +0000 (05:34 +0000)
Let's just go ahead and make this match every other uintXX_t in Asterisk.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40833 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/asterisk.c

index 3898ccb..14b9f77 100644 (file)
@@ -405,7 +405,7 @@ int64_t ast_profile(int i, int64_t delta)
 #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 @@ rdtsc(void)
 }
 #endif
 #else  /* supply a dummy function on other platforms */
-static __inline u_int64_t
+static __inline uint64_t
 rdtsc(void)
 {
        return 0;