diff options
author | hunt <hunt> | 2005-09-09 09:20:07 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-09-09 09:20:07 +0000 |
commit | 22c6c6b2b42f375d9e259e091015b768314efdaa (patch) | |
tree | be46fa0a20448a9a5119e6ec1f13165d5008bceb /runtime/arith.c | |
parent | 1431278aba3347fdb55ec461008a07d9010aea7a (diff) | |
download | systemtap-steved-22c6c6b2b42f375d9e259e091015b768314efdaa.tar.gz systemtap-steved-22c6c6b2b42f375d9e259e091015b768314efdaa.tar.xz systemtap-steved-22c6c6b2b42f375d9e259e091015b768314efdaa.zip |
Fix for jiffies.
Diffstat (limited to 'runtime/arith.c')
-rw-r--r-- | runtime/arith.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/arith.c b/runtime/arith.c index abbac66c..19b22df4 100644 --- a/runtime/arith.c +++ b/runtime/arith.c @@ -82,7 +82,7 @@ int64_t _stp_mod64 (const char **error, int64_t x, int64_t y) #endif } - +#ifndef _STP_TEST_ /** Return a random integer between -n and n. * @param n how far from zero to go. Make it positive but less than a million or so. */ @@ -101,6 +101,7 @@ int _stp_random_pm (int n) return (seed % (2*n+1)-n); } +#endif /* _STP_TEST_ */ #ifdef __i386__ |