7fbda9048b
- patch-aa was used to edit Makefile. Now it edits Makefile.in instead - patch-a[cefh] are removed, equivalent fix applied - patch-dns.c is added to silent prototype warning (upstream) - Update 1.20 to 1.23 ------------------- 1.23: Feb.17,2015: dns.c, smtp.c: typo fixed: INET6 should be AF_INET6 1.22: Jun.9,2012: smtp.c: logging whole message in multi-lined SMTP response. 1.21: Jun.7,2012: smtp.c, common.h, main.c: '-2' option added to avoid piggybacking among domains. (to support spec change on GoogleApps service) dns.c: definitions of functions with "static" are moved outside to avoid "invalid strage class" errors. *.c, extern.h: log() is renamed to logg() to avoid conflict.
26 lines
694 B
Text
26 lines
694 B
Text
$NetBSD: patch-am,v 1.2 2015/03/15 15:07:47 mef Exp $
|
|
|
|
|
|
--- util.c.orig 2012-06-07 16:51:49.000000000 +0900
|
|
+++ util.c 2015-03-11 13:54:18.000000000 +0900
|
|
@@ -42,6 +42,11 @@ static char *_id_ = "$Id: util.c,v 1.23
|
|
# include "common.h"
|
|
# include "extern.h"
|
|
|
|
+static void tv_sub P((struct timeval *, struct timeval *, struct timeval *));
|
|
+static int hash_func P((char *));
|
|
+struct dns_stat *hash_query_lookup P((char *, struct dns_stat ***));
|
|
+static void hash_map_enter P((char *, struct host_map *));
|
|
+
|
|
char *
|
|
newstr(str)
|
|
char *str;
|
|
@@ -435,7 +440,7 @@ struct host_map ***ptr;
|
|
return NULL;
|
|
}
|
|
|
|
-void
|
|
+static void
|
|
hash_map_enter(name, newmapp)
|
|
char *name;
|
|
struct host_map *newmapp;
|