const poisoning.
This commit is contained in:
parent
0034bdfa78
commit
be432ed479
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: exec.c,v 1.11 1997/07/04 21:23:58 christos Exp $ */
|
||||
/* $NetBSD: exec.c,v 1.12 1998/07/26 14:53:46 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1980, 1991, 1993
|
||||
|
@ -38,7 +38,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)exec.c 8.3 (Berkeley) 5/23/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: exec.c,v 1.11 1997/07/04 21:23:58 christos Exp $");
|
||||
__RCSID("$NetBSD: exec.c,v 1.12 1998/07/26 14:53:46 mycroft Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -75,7 +75,7 @@ extern char **environ;
|
|||
* is not in the last component of the search path, so we must
|
||||
* go on after first detecting the error.
|
||||
*/
|
||||
static char *exerr; /* Execution error message */
|
||||
static const char *exerr; /* Execution error message */
|
||||
static Char *expath; /* Path for exerr */
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pcap.c,v 1.5 1997/10/03 15:53:16 christos Exp $ */
|
||||
/* $NetBSD: pcap.c,v 1.6 1998/07/26 14:49:36 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993, 1994, 1995, 1996
|
||||
|
@ -39,7 +39,7 @@
|
|||
static const char rcsid[] =
|
||||
"@(#) Header: pcap.c,v 1.27 96/11/27 18:43:25 leres Exp (LBL)";
|
||||
#else
|
||||
__RCSID("$NetBSD: pcap.c,v 1.5 1997/10/03 15:53:16 christos Exp $");
|
||||
__RCSID("$NetBSD: pcap.c,v 1.6 1998/07/26 14:49:36 mycroft Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -168,7 +168,7 @@ pcap_geterr(pcap_t *p)
|
|||
/*
|
||||
* Not all systems have strerror().
|
||||
*/
|
||||
char *
|
||||
const char *
|
||||
pcap_strerror(int errnum)
|
||||
{
|
||||
#ifdef HAVE_STRERROR
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pcap.h,v 1.6 1997/10/03 15:53:17 christos Exp $ */
|
||||
/* $NetBSD: pcap.h,v 1.7 1998/07/26 14:49:36 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993, 1994, 1995, 1996
|
||||
|
@ -113,7 +113,8 @@ const u_char*
|
|||
int pcap_stats(pcap_t *, struct pcap_stat *);
|
||||
int pcap_setfilter(pcap_t *, struct bpf_program *);
|
||||
void pcap_perror(pcap_t *, char *);
|
||||
char *pcap_strerror(int);
|
||||
const char*
|
||||
pcap_strerror(int);
|
||||
char *pcap_geterr(pcap_t *);
|
||||
int pcap_compile(pcap_t *, struct bpf_program *, char *, int,
|
||||
bpf_u_int32);
|
||||
|
|
Loading…
Reference in New Issue