diff options
author | wtc%netscape.com <devnull@localhost> | 2000-01-12 01:12:35 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2000-01-12 01:12:35 +0000 |
commit | f9382fe13d4ac4350399123756e0862b3c149ed4 (patch) | |
tree | ed730fa7400d7407749c1839e290a7d54e1f8d64 | |
parent | e29c79fc0d7c6569e11ee7e823442e489175ae9c (diff) | |
download | nspr-hg-f9382fe13d4ac4350399123756e0862b3c149ed4.tar.gz |
Use PR_IMPLEMENT to define an exported function. Don't need extern when
defining a global function. "prrng.h" is indirectly included by primpl.h.
-rw-r--r-- | pr/src/misc/prrng.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pr/src/misc/prrng.c b/pr/src/misc/prrng.c index 8bfba21d..fe88b0fc 100644 --- a/pr/src/misc/prrng.c +++ b/pr/src/misc/prrng.c @@ -17,10 +17,9 @@ */ #include "primpl.h" -#include "prrng.h" -extern PRSize _pr_CopyLowBits( +PRSize _pr_CopyLowBits( void *dst, PRSize dstlen, void *src, @@ -38,7 +37,7 @@ extern PRSize _pr_CopyLowBits( return dstlen; } -PR_EXTERN(PRSize) PR_GetRandomNoise( +PR_IMPLEMENT(PRSize) PR_GetRandomNoise( void *buf, PRSize size ) |