summaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2016-03-17 00:17:58 +0000
committerchristos <christos@NetBSD.org>2016-03-17 00:17:58 +0000
commit89f3f2733db7d137053bca5413286d65de359a87 (patch)
tree89334f958b2443f147743a70814d5d5edb599246 /libexec/ftpd
parentf955782dad2551f9f81b75ef5e9628af967a8641 (diff)
volatile for gcc 5
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/popen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c
index ed52dc0948f..076d3e5fb6b 100644
--- a/libexec/ftpd/popen.c
+++ b/libexec/ftpd/popen.c
@@ -1,4 +1,4 @@
-/* $NetBSD: popen.c,v 1.37 2010/03/20 18:23:30 christos Exp $ */
+/* $NetBSD: popen.c,v 1.38 2016/03/17 00:17:58 christos Exp $ */
/*-
* Copyright (c) 1999-2009 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#if 0
static char sccsid[] = "@(#)popen.c 8.3 (Berkeley) 4/6/94";
#else
-__RCSID("$NetBSD: popen.c,v 1.37 2010/03/20 18:23:30 christos Exp $");
+__RCSID("$NetBSD: popen.c,v 1.38 2016/03/17 00:17:58 christos Exp $");
#endif
#endif /* not lint */
@@ -107,7 +107,7 @@ extern int ls_main(int, char *[]);
FILE *
ftpd_popen(const char *argv[], const char *ptype, int stderrfd)
{
- FILE *iop;
+ FILE * volatile iop;
int argc, pdes[2], pid;
volatile int isls;
char **pop;