NONNULLxxx for several files

src/date.c
src/mdlib.c
src/timeout.c
src/u_init.c
src/vault.c
src/version.c
src/windows.c
This commit is contained in:
nhmall
2023-12-27 20:11:59 -05:00
parent e69c98c14a
commit caf436934e
9 changed files with 44 additions and 41 deletions

View File

@@ -10,10 +10,10 @@
#define OPTIONS_AT_RUNTIME
#endif
extern char *mdlib_version_string(char *, const char *);
static void insert_rtoption(char *);
static void insert_rtoption(char *) NONNULLARG1;
/* fill buffer with short version (so caller can avoid including date.h) */
/* fill buffer with short version (so caller can avoid including date.h)
* buf cannot be NULL */
char *
version_string(char *buf, size_t bufsz)
{