Skip to content

Commit 51ab6ca

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 9bacbef commit 51ab6ca

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

lib/node_modules/@stdlib/random/base/minstd/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.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.h"
2727

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

lib/node_modules/@stdlib/random/base/minstd/include/stdlib/random/base/minstd.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_H
2020
#define STDLIB_RANDOM_BASE_MINSTD_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/src/main.c

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

19-
// Note: keep project includes in alphabetical order...
19+
#include "stdlib/random/base/minstd.h"
20+
#include "stdlib/random/base/shared.h"
2021
#include <stdlib.h>
2122
#include <stdint.h>
2223
#include <string.h>
23-
#include "stdlib/random/base.h"
24-
#include "stdlib/random/base/minstd.h"
2524

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

0 commit comments

Comments
 (0)