Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libwrap change static to volatile.
details: https://anonhg.NetBSD.org/src/rev/553758a26bb1
branches: trunk
changeset: 344202:553758a26bb1
user: christos <christos%NetBSD.org@localhost>
date: Wed Mar 16 22:32:32 2016 +0000
description:
change static to volatile.
diffstat:
lib/libwrap/rfc931.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 56653589c670 -r 553758a26bb1 lib/libwrap/rfc931.c
--- a/lib/libwrap/rfc931.c Wed Mar 16 22:25:05 2016 +0000
+++ b/lib/libwrap/rfc931.c Wed Mar 16 22:32:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rfc931.c,v 1.11 2016/03/16 21:38:22 christos Exp $ */
+/* $NetBSD: rfc931.c,v 1.12 2016/03/16 22:32:32 christos Exp $ */
/*
* rfc931() speaks a common subset of the RFC 931, AUTH, TAP, IDENT and RFC
@@ -16,7 +16,7 @@
#if 0
static char sccsid[] = "@(#) rfc931.c 1.10 95/01/02 16:11:34";
#else
-__RCSID("$NetBSD: rfc931.c,v 1.11 2016/03/16 21:38:22 christos Exp $");
+__RCSID("$NetBSD: rfc931.c,v 1.12 2016/03/16 22:32:32 christos Exp $");
#endif
#endif
@@ -87,7 +87,7 @@
char user[256]; /* XXX */
char buffer[512]; /* XXX */
char *cp;
- static char *result = unknown;
+ char * volatile result = unknown;
FILE *fp;
volatile int salen;
u_short * volatile rmt_portp;
Home |
Main Index |
Thread Index |
Old Index