openbsd-ports/net/mrtd/patches/patch-programs_bgpsim_bgpsim_c

14 lines
468 B
Plaintext

$OpenBSD: patch-programs_bgpsim_bgpsim_c,v 1.1 2002/02/20 21:24:46 pvalchev Exp $
--- programs/bgpsim/bgpsim.c.orig Sun Nov 28 22:16:36 1999
+++ programs/bgpsim/bgpsim.c Wed Feb 20 14:16:26 2002
@@ -513,7 +513,8 @@ add_bgpsim_config (void) {
int
main (int argc, char *argv[])
{
- char c, *p, *name = argv[0];
+ char *p, *name = argv[0];
+ int c;
extern char *optarg; /* getopt stuff */
extern int optind; /* getopt stuff */
int errors = 0;