The variable "clang" is modified from a signal handler. Change it
from an 'int' to a 'sig_atomic_t' and mark it 'volatile', as we
recommend in signal(3).
ok millert@ kn@
-/* $OpenBSD: init.c,v 1.71 2021/10/24 21:24:21 deraadt Exp $ */
+/* $OpenBSD: init.c,v 1.72 2022/09/10 00:49:47 cheloha Exp $ */
/* $NetBSD: init.c,v 1.22 1996/05/15 23:29:33 jtc Exp $ */
/*-
void setprocresources(char *);
int getsecuritylevel(void);
int setupargv(session_t *, struct ttyent *);
-int clang;
+
+volatile sig_atomic_t clang;
void clear_session_logs(session_t *);