-# $OpenBSD: Makefile,v 1.1.1.1 2024/06/28 21:07:27 bluhm Exp $
+# $OpenBSD: Makefile,v 1.2 2024/07/14 18:49:32 anton Exp $
PROG= unp-write-closed
+WARNINGS= yes
+
.include <bsd.regress.mk>
-/* $OpenBSD: unp-write-closed.c,v 1.1.1.1 2024/06/28 21:07:27 bluhm Exp $ */
+/* $OpenBSD: unp-write-closed.c,v 1.2 2024/07/14 18:49:32 anton Exp $ */
/*
* Copyright (c) 2024 Vitaliy Makkoveev <mvs@openbsd.org>
* Copyright (c) 2024 Alenander Bluhm <bluhm@openbsd.org>
sig_atomic_t done = 0;
-void
+static void
handler(int sigraised)
{
done = 1;