lib/addns: don't depend on the order in resp->answers[]
[sfrench/samba-autobuild/.git] / lib / addns / dnserr.h
index 9e049ac3a9a194e3689e8ab12dbc0efbd49e29c0..1eedc8f93ffbe8528758c21bb1d2214571619c28 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Error codes for Linux DNS client library implementation
-  
+
   Copyright (C) 2006 Krishna Ganugapati <krishnag@centeris.com>
   Copyright (C) 2006 Gerald Carter <jerry@samba.org>
 
@@ -28,7 +28,7 @@
 
 /* The Splint code analysis tool (http://www.splint.org.) doesn't 
    like immediate structures. */
-   
+
 #ifdef _SPLINT_
 #undef HAVE_IMMEDIATE_STRUCTURES
 #endif
 /* Setup the DNS_ERROR typedef.  Technique takes from nt_status.h */
 
 #if defined(HAVE_IMMEDIATE_STRUCTURES)
-typedef struct {uint32 v;} DNS_ERROR;
+typedef struct {uint32_t v;} DNS_ERROR;
 #define ERROR_DNS(x) ((DNS_ERROR) { x })
 #define ERROR_DNS_V(x) ((x).v)
 #else
-typedef uint32 DNS_ERROR;
+typedef uint32_t DNS_ERROR;
 #define ERROR_DNS(x) (x)
 #define ERROR_DNS_V(x) (x)
 #endif