summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2007-10-18 00:08:38 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2007-10-18 00:08:38 +0000
commit19cd513a509aa6e45361df774e74f2d39451e08a (patch)
tree13ad0e58a486afd842559e1d74d019190c3f1d79 /include
parent878c163528ed089dae1edb8295a6dd4ae842b9b4 (diff)
downloadds-19cd513a509aa6e45361df774e74f2d39451e08a.tar.gz
ds-19cd513a509aa6e45361df774e74f2d39451e08a.tar.xz
ds-19cd513a509aa6e45361df774e74f2d39451e08a.zip
Resolves: #188320
Summary: HP-UX: warnings reported by the HP-UX compiler
Diffstat (limited to 'include')
-rw-r--r--include/base/systems.h1
-rw-r--r--include/ldaputil/ldaputil.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/base/systems.h b/include/base/systems.h
index 1b6d41d0..5703547e 100644
--- a/include/base/systems.h
+++ b/include/base/systems.h
@@ -142,7 +142,6 @@
#define FILE_MMAP_FLAGS MAP_PRIVATE
#define HAS_STATFS
#define HAVE_ATEXIT
-#define HAVE_STRFTIME
#define JAVA_STATIC_LINK
#undef NEED_CRYPT_H
#define NET_SOCKETS
diff --git a/include/ldaputil/ldaputil.h b/include/ldaputil/ldaputil.h
index 4cb05e6a..c8ce8a2e 100644
--- a/include/ldaputil/ldaputil.h
+++ b/include/ldaputil/ldaputil.h
@@ -141,7 +141,7 @@ typedef struct {
#else
LDAP* (LDAP_CALL LDAP_CALLBACK *ldapuV_init) ( const char*, int );
#endif
- int (LDAP_CALL LDAP_CALLBACK *ldapuV_set_option) ( LDAP*, int, void* );
+ int (LDAP_CALL LDAP_CALLBACK *ldapuV_set_option) ( LDAP*, int, const void* );
int (LDAP_CALL LDAP_CALLBACK *ldapuV_simple_bind_s) ( LDAP*, const char*, const char* );
int (LDAP_CALL LDAP_CALLBACK *ldapuV_unbind) ( LDAP* );
int (LDAP_CALL LDAP_CALLBACK *ldapuV_search_s) ( LDAP*, const char*, int, const char*, char**, int, LDAPMessage** );