Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libpcap/dist use static const char[] for format.
details: https://anonhg.NetBSD.org/src/rev/b8e437335bc5
branches: trunk
changeset: 768572:b8e437335bc5
user: christos <christos%NetBSD.org@localhost>
date: Sun Aug 21 08:45:20 2011 +0000
description:
use static const char[] for format.
diffstat:
external/bsd/libpcap/dist/optimize.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 115c19171ec2 -r b8e437335bc5 external/bsd/libpcap/dist/optimize.c
--- a/external/bsd/libpcap/dist/optimize.c Sun Aug 21 08:40:31 2011 +0000
+++ b/external/bsd/libpcap/dist/optimize.c Sun Aug 21 08:45:20 2011 +0000
@@ -2153,7 +2153,7 @@
{
u_int i;
int jt, jf;
-#define ljerr "%s for block-local relative jump: off=%d"
+static const char ljerr[] = "%s for block-local relative jump: off=%d";
#if 0
printf("code=%x off=%d %x %x\n", src->s.code,
Home |
Main Index |
Thread Index |
Old Index