Skip to content

Commit 7ef177c

Browse files
committed
fix: update include paths and reorder includes
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: na - task: lint_c_benchmarks status: passed - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 51ab6ca commit 7ef177c

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

lib/node_modules/@stdlib/random/base/minstd-shuffle/benchmark/c/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
* limitations under the License.
1717
*/
1818

19+
#include "stdlib/random/base/minstd_shuffle.h"
20+
#include "stdlib/random/base/shared.h"
1921
#include <stdlib.h>
2022
#include <stdio.h>
2123
#include <stdint.h>
2224
#include <math.h>
2325
#include <time.h>
2426
#include <sys/time.h>
25-
#include "stdlib/random/base.h"
26-
#include "stdlib/random/base/minstd_shuffle.h"
2727

2828
#define NAME "base/minstd-shuffle"
2929
#define ITERATIONS 1000000

lib/node_modules/@stdlib/random/base/minstd-shuffle/include/stdlib/random/base/minstd_shuffle.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@
1919
#ifndef STDLIB_RANDOM_BASE_MINSTD_SHUFFLE_H
2020
#define STDLIB_RANDOM_BASE_MINSTD_SHUFFLE_H
2121

22-
// Note: keep project includes in alphabetical order...
22+
#include "stdlib/random/base/shared.h"
2323
#include <stdint.h>
24-
#include "stdlib/random/base.h"
2524

2625
/*
2726
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C compiler.

lib/node_modules/@stdlib/random/base/minstd-shuffle/src/main.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@
1616
* limitations under the License.
1717
*/
1818

19-
// Note: keep project includes in alphabetical order...
19+
#include "stdlib/random/base/minstd_shuffle.h"
20+
#include "stdlib/random/base/minstd.h"
21+
#include "stdlib/random/base/shared.h"
2022
#include <stdlib.h>
2123
#include <stdint.h>
2224
#include <string.h>
23-
#include "stdlib/random/base.h"
24-
#include "stdlib/random/base/minstd.h"
25-
#include "stdlib/random/base/minstd_shuffle.h"
2625

2726
// Forward declarations:
2827
static inline int8_t next( struct BasePRNGObject *obj, uint64_t *out );

0 commit comments

Comments
 (0)