include <limits.h> for CHAR_MIN/CHAR_MAX

This commit is contained in:
christos 2012-03-28 20:11:25 +00:00
parent 537334cc90
commit a080d61232
5 changed files with 15 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: expand.c,v 1.86 2011/08/31 16:24:54 plunky Exp $ */
/* $NetBSD: expand.c,v 1.87 2012/03/28 20:11:25 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)expand.c 8.5 (Berkeley) 5/15/95";
#else
__RCSID("$NetBSD: expand.c,v 1.86 2011/08/31 16:24:54 plunky Exp $");
__RCSID("$NetBSD: expand.c,v 1.87 2012/03/28 20:11:25 christos Exp $");
#endif
#endif /* not lint */
@ -48,6 +48,7 @@ __RCSID("$NetBSD: expand.c,v 1.86 2011/08/31 16:24:54 plunky Exp $");
#include <dirent.h>
#include <unistd.h>
#include <pwd.h>
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: input.c,v 1.44 2011/02/17 15:13:49 pooka Exp $ */
/* $NetBSD: input.c,v 1.45 2012/03/28 20:11:25 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)input.c 8.3 (Berkeley) 6/9/95";
#else
__RCSID("$NetBSD: input.c,v 1.44 2011/02/17 15:13:49 pooka Exp $");
__RCSID("$NetBSD: input.c,v 1.45 2012/03/28 20:11:25 christos Exp $");
#endif
#endif /* not lint */
@ -45,6 +45,7 @@ __RCSID("$NetBSD: input.c,v 1.44 2011/02/17 15:13:49 pooka Exp $");
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: parser.c,v 1.81 2012/03/25 18:49:13 christos Exp $ */
/* $NetBSD: parser.c,v 1.82 2012/03/28 20:11:25 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -37,11 +37,12 @@
#if 0
static char sccsid[] = "@(#)parser.c 8.7 (Berkeley) 5/16/95";
#else
__RCSID("$NetBSD: parser.c,v 1.81 2012/03/25 18:49:13 christos Exp $");
__RCSID("$NetBSD: parser.c,v 1.82 2012/03/28 20:11:25 christos Exp $");
#endif
#endif /* not lint */
#include <stdlib.h>
#include <limits.h>
#include "shell.h"
#include "parser.h"

View File

@ -1,8 +1,9 @@
/* $NetBSD: syntax.c,v 1.2 2007/12/12 22:55:43 lukem Exp $ */
/* $NetBSD: syntax.c,v 1.3 2012/03/28 20:11:25 christos Exp $ */
#include <sys/cdefs.h>
__RCSID("$NetBSD: syntax.c,v 1.2 2007/12/12 22:55:43 lukem Exp $");
__RCSID("$NetBSD: syntax.c,v 1.3 2012/03/28 20:11:25 christos Exp $");
#include <limits.h>
#include "shell.h"
#include "syntax.h"
#include "parser.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: var.c,v 1.40 2011/06/18 21:18:46 christos Exp $ */
/* $NetBSD: var.c,v 1.41 2012/03/28 20:11:25 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 5/4/95";
#else
__RCSID("$NetBSD: var.c,v 1.40 2011/06/18 21:18:46 christos Exp $");
__RCSID("$NetBSD: var.c,v 1.41 2012/03/28 20:11:25 christos Exp $");
#endif
#endif /* not lint */
@ -45,6 +45,7 @@ __RCSID("$NetBSD: var.c,v 1.40 2011/06/18 21:18:46 christos Exp $");
#include <stdlib.h>
#include <strings.h>
#include <paths.h>
#include <limits.h>
/*
* Shell variables.