summaryrefslogtreecommitdiff
path: root/src/stdlib
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 16:08:00 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 16:08:00 -0500
commit237bf6358ed3e39b584b23d6b52e2b91a1d69cfa (patch)
tree08adde29489810c976b874a08c0f3c64c834359c /src/stdlib
parent86b8bdb806e3095558021435390fa45b6ddde399 (diff)
update standards and safety checks
Diffstat (limited to 'src/stdlib')
-rw-r--r--src/stdlib/__constraint_info.h4
-rw-r--r--src/stdlib/_stdlib.h4
-rw-r--r--src/stdlib/_strtod.h4
-rw-r--r--src/stdlib/_strtoi.h4
4 files changed, 16 insertions, 0 deletions
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)
+*/