diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:11:47 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:11:47 +0000 |
commit | 758f820bcc0f68aeebac1717e537ca13a320b909 (patch) | |
tree | 48111ece75cf4f98316848b37a7e26356e00669e /lib/randperm.h | |
parent | Initial commit. (diff) | |
download | coreutils-758f820bcc0f68aeebac1717e537ca13a320b909.tar.xz coreutils-758f820bcc0f68aeebac1717e537ca13a320b909.zip |
Adding upstream version 9.1.upstream/9.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/randperm.h')
-rw-r--r-- | lib/randperm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/randperm.h b/lib/randperm.h new file mode 100644 index 0000000..b7efbeb --- /dev/null +++ b/lib/randperm.h @@ -0,0 +1,6 @@ +#include "randint.h" +#include <stddef.h> +#include <stdlib.h> +size_t randperm_bound (size_t, size_t) _GL_ATTRIBUTE_CONST; +size_t *randperm_new (struct randint_source *, size_t, size_t) + _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; |