From 237bf6358ed3e39b584b23d6b52e2b91a1d69cfa Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 16:08:00 -0500 Subject: update standards and safety checks --- src/stdlib/__constraint_info.h | 4 ++++ src/stdlib/_stdlib.h | 4 ++++ src/stdlib/_strtod.h | 4 ++++ src/stdlib/_strtoi.h | 4 ++++ 4 files changed, 16 insertions(+) (limited to 'src/stdlib') diff --git a/src/stdlib/__constraint_info.h b/src/stdlib/__constraint_info.h index 0cdae024..b0d3b7d4 100644 --- a/src/stdlib/__constraint_info.h +++ b/src/stdlib/__constraint_info.h @@ -3,3 +3,7 @@ struct __constraint_info { int value; int signal; }; + +/* +STDC(-1) +*/ diff --git a/src/stdlib/_stdlib.h b/src/stdlib/_stdlib.h index d8120e66..de5a97d0 100644 --- a/src/stdlib/_stdlib.h +++ b/src/stdlib/_stdlib.h @@ -35,4 +35,8 @@ extern char **environ; #define environ __stdlib.environ #endif +/* +STDC(-1) +*/ + #endif diff --git a/src/stdlib/_strtod.h b/src/stdlib/_strtod.h index aa7e60d4..32645aff 100644 --- a/src/stdlib/_strtod.h +++ b/src/stdlib/_strtod.h @@ -94,3 +94,7 @@ ret *= -1; } } + +/* +STDC(-1) +*/ diff --git a/src/stdlib/_strtoi.h b/src/stdlib/_strtoi.h index 21b22ee9..dc160aeb 100644 --- a/src/stdlib/_strtoi.h +++ b/src/stdlib/_strtoi.h @@ -121,3 +121,7 @@ } else { ret *= sign; } + +/* +STDC(-1) +*/ -- cgit v1.2.1