diff options
author | deraadt@openbsd.org <deraadt@openbsd.org> | 2015-01-16 07:40:12 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-01-16 08:24:48 +0100 |
commit | 2ae4f337b2a5fb2841b6b0053b49496fef844d1c (patch) | |
tree | 59aac6ef59be3975eb3a1251abb0be330c008cdd /uidswap.c | |
parent | upstream commit (diff) | |
download | openssh-2ae4f337b2a5fb2841b6b0053b49496fef844d1c.tar.xz openssh-2ae4f337b2a5fb2841b6b0053b49496fef844d1c.zip |
upstream commit
Replace <sys/param.h> with <limits.h> and other less
dirty headers where possible. Annotate <sys/param.h> 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)
Diffstat (limited to 'uidswap.c')
-rw-r--r-- | uidswap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: uidswap.c,v 1.36 2013/11/08 11:15:19 dtucker Exp $ */ +/* $OpenBSD: uidswap.c,v 1.37 2015/01/16 06:40:12 deraadt Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -14,11 +14,11 @@ #include "includes.h" -#include <sys/param.h> #include <errno.h> #include <pwd.h> #include <string.h> #include <unistd.h> +#include <limits.h> #include <stdarg.h> #include <stdlib.h> |