aboutsummaryrefslogtreecommitdiff
path: root/src/bug_report.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-12-18 21:51:04 +0000
committergingerBill <bill@gingerbill.org>2022-12-18 21:51:04 +0000
commit66ce990e0b9072a49943b37630c8597713a5c6ae (patch)
treecd64dd7dd893727298ee6bbe3f934dbfaa61412b /src/bug_report.cpp
parent690666537c8a27d3c418b38b3285899100c9a556 (diff)
`gb_internal` to docs and other auxiliary files
Diffstat (limited to 'src/bug_report.cpp')
-rw-r--r--src/bug_report.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bug_report.cpp b/src/bug_report.cpp
index f4f1b51be..fbf616efb 100644
--- a/src/bug_report.cpp
+++ b/src/bug_report.cpp
@@ -30,7 +30,7 @@
NOTE(Jeroen): This prints the Windows product edition only, to be called from `print_platform_details`.
*/
#if defined(GB_SYSTEM_WINDOWS)
-void report_windows_product_type(DWORD ProductType) {
+gb_internal void report_windows_product_type(DWORD ProductType) {
switch (ProductType) {
case PRODUCT_ULTIMATE:
gb_printf("Ultimate");
@@ -154,7 +154,7 @@ void report_windows_product_type(DWORD ProductType) {
}
#endif
-void odin_cpuid(int leaf, int result[]) {
+gb_internal void odin_cpuid(int leaf, int result[]) {
#if defined(GB_CPU_ARM)
return;
@@ -169,7 +169,7 @@ void odin_cpuid(int leaf, int result[]) {
#endif
}
-void report_cpu_info() {
+gb_internal void report_cpu_info() {
gb_printf("\tCPU: ");
#if defined(GB_CPU_X86)
@@ -220,7 +220,7 @@ void report_cpu_info() {
/*
Report the amount of installed RAM.
*/
-void report_ram_info() {
+gb_internal void report_ram_info() {
gb_printf("\tRAM: ");
#if defined(GB_SYSTEM_WINDOWS)
@@ -271,7 +271,7 @@ void report_ram_info() {
#endif
}
-void report_os_info() {
+gb_internal void report_os_info() {
gb_printf("\tOS: ");
#if defined(GB_SYSTEM_WINDOWS)
@@ -966,7 +966,7 @@ void report_os_info() {
}
// NOTE(Jeroen): `odin report` prints some system information for easier bug reporting.
-void print_bug_report_help() {
+gb_internal void print_bug_report_help() {
gb_printf("Where to find more information and get into contact when you encounter a bug:\n\n");
gb_printf("\tWebsite: https://odin-lang.org\n");
gb_printf("\tGitHub: https://github.com/odin-lang/Odin/issues\n");