summaryrefslogtreecommitdiff
path: root/net/tcpdmerge/patches/patch-aa
blob: 004853fe49b37f886142972a4e5ee67ad4601874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.3 2013/09/10 14:38:22 joerg Exp $

--- tcpdmerge.c.orig	2013-09-10 11:20:39.000000000 +0000
+++ tcpdmerge.c
@@ -45,7 +45,8 @@
 #include <stdlib.h>
 #include <sys/types.h>
 #include <pcap.h>
-#include <strings.h>
+#include <string.h>
+#include <unistd.h>
 #ifdef __STDC__
 #include <stdarg.h>
 #else
@@ -60,7 +61,7 @@ char version[] = "1.0";
 char *program_name;
 
 void error(const char *fmt, ...);
-void usage(void)__attribute__((volatile));
+void usage(void)__attribute__((__noreturn__));
 void merge_files(char file1_file_name[], char file2_file_name[],
                  char write_file_name[]);
 void make_tmp_file( char filename[], pcap_t **pcap,