+2000-06-28 Ezra Peisach <epeisach@mit.edu>
+
+ * def_realm.c: Add newline at end of file.
+
+ * gmt_mktime.c: Define days_in_month as type int.
+
+ * locate_kdc.c (krb5_locate_srv_dns): Cleanup unused variables.
+
2000-06-23 Miro Jurisic <meeroh@mit.edu>
* init_os_ctx.c (os_get_default_config_files): Return ENOENT when
/* like mktime, this ignores tm_wday and tm_yday. */
/* unlike mktime, this does not set them... it only passes a return value. */
-static const days_in_month[12] = {
+static const int days_in_month[12] = {
0, /* jan 31 */
31, /* feb 28 */
59, /* mar 31 */
if ( !get_masters || ismaster ) {
switch (hp->h_addrtype) {
+
#ifdef HAVE_NETINET_IN_H
case AF_INET:
for (j=0; hp->h_addr_list[j]; j++) {
struct sockaddr_in *sin = NULL;
struct hostent *hp = NULL;
int type, class;
- int status, priority, weight, size, len, numanswers, numqueries, rdlen;
+ int priority, weight, size, len, numanswers, numqueries, rdlen;
unsigned short port;
const int hdrsize = sizeof(HEADER);
struct srv_dns_entry {