From 2ae4f337b2a5fb2841b6b0053b49496fef844d1c Mon Sep 17 00:00:00 2001 From: "deraadt@openbsd.org" Date: Fri, 16 Jan 2015 06:40:12 +0000 Subject: upstream commit Replace with and other less dirty headers where possible. Annotate lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) --- atomicio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'atomicio.c') diff --git a/atomicio.c b/atomicio.c index 2bac36c9..b1ec234f 100644 --- a/atomicio.c +++ b/atomicio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atomicio.c,v 1.26 2010/09/22 22:58:51 djm Exp $ */ +/* $OpenBSD: atomicio.c,v 1.27 2015/01/16 06:40:12 deraadt Exp $ */ /* * Copyright (c) 2006 Damien Miller. All rights reserved. * Copyright (c) 2005 Anil Madhavapeddy. All rights reserved. @@ -41,6 +41,7 @@ #endif #include #include +#include #include "atomicio.h" -- cgit v1.2.1