]> git.ipfire.org Git - thirdparty/shadow.git/commit
Assume STDC_HEADERS will always be defined
authorAlejandro Colomar <alx.manpages@gmail.com>
Tue, 28 Dec 2021 18:19:32 +0000 (19:19 +0100)
committerAlejandro Colomar <alx.manpages@gmail.com>
Wed, 29 Dec 2021 01:39:04 +0000 (02:39 +0100)
commit4e1afcd6625dff04063733c6a8dfc3a8036daf27
tree9774d6b9a30cda196676d485fd8d23278cc0b6b6
parente668c7e725159a45b80b6c3e93d8f03f8aaeba98
Assume STDC_HEADERS will always be defined

We're in 2021.  C89 is everywhere; in fact, there are many other
assumptions in the code that wouldn't probably hold on
pre-standard C environments.  Let's simplify and assume that C89
is available.

The specific assumptions are that:
- <string.h>, and <stdlib.h> are available
- strchr(3), strrchr(3), and strtok(3) are available
- isalpha(3), isspace(3), isdigit(3), and isupper(3) are available

I think we can safely assume we have all of those.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
configure.ac
lib/defines.h
libmisc/getdate.y