summaryrefslogtreecommitdiffhomepage
path: root/examples/queue.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-04-18 23:53:18 +0200
committerTyge Løvset <[email protected]>2022-04-18 23:53:18 +0200
commit58497293d88109624d4798c56e888bcbab7c4285 (patch)
tree670f4f481672635f27363ea2d711a4cbb37618d6 /examples/queue.c
parent1eddea1da0125ddad2f8804fadafd1494c1bb11a (diff)
downloadSTC-modified-58497293d88109624d4798c56e888bcbab7c4285.tar.gz
STC-modified-58497293d88109624d4798c56e888bcbab7c4285.zip
crandom.h: Renamed *_init(..) functions to *_new(..). Old names are kept but deprecated.
Diffstat (limited to 'examples/queue.c')
-rw-r--r--examples/queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/queue.c b/examples/queue.c
index db5f0e05..5f2fa03d 100644
--- a/examples/queue.c
+++ b/examples/queue.c
@@ -8,8 +8,8 @@
int main() {
int n = 100000000;
stc64_uniform_t dist;
- stc64_t rng = stc64_init(1234);
- dist = stc64_uniform_init(0, n);
+ stc64_t rng = stc64_new(1234);
+ dist = stc64_uniform_new(0, n);
c_auto (cqueue_i, queue)
{