Andrew Talbot : dnsapi: Declare some items static.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 8 06:35:30 CST 2007


Module: wine
Branch: master
Commit: 906c0cac177b5f459172eb40cfb6ec2195806a1d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=906c0cac177b5f459172eb40cfb6ec2195806a1d

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Sat Jan  6 19:30:51 2007 +0000

dnsapi: Declare some items static.

---

 dlls/dnsapi/main.c    |    2 +-
 dlls/dnsapi/ns_name.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/dnsapi/main.c b/dlls/dnsapi/main.c
index 13f5ba6..10e3204 100644
--- a/dlls/dnsapi/main.c
+++ b/dlls/dnsapi/main.c
@@ -30,7 +30,7 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(dnsapi);
 
-HINSTANCE hdnsapi;
+static HINSTANCE hdnsapi;
 
 BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
 {
diff --git a/dlls/dnsapi/ns_name.c b/dlls/dnsapi/ns_name.c
index 542ea1b..de5fbdb 100644
--- a/dlls/dnsapi/ns_name.c
+++ b/dlls/dnsapi/ns_name.c
@@ -54,7 +54,7 @@ static int		printable(int);
  *	The root is returned as "."
  *	All other domains are returned in non absolute form
  */
-int
+static int
 dns_ns_name_ntop(const u_char *src, char *dst, size_t dstsiz) {
 	const u_char *cp;
 	char *dn, *eom;
@@ -275,7 +275,7 @@ dns_ns_name_pton(const char *src, u_char
  * return:
  *	-1 if it fails, or consumed octets if it succeeds.
  */
-int
+static int
 dns_ns_name_unpack(const u_char *msg, const u_char *eom, const u_char *src,
 	       u_char *dst, size_t dstsiz)
 {




More information about the wine-cvs mailing list