summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/instindex.cpp
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2005-03-05 23:55:10 +0000
committerRich Megginson <rmeggins@redhat.com>2005-03-05 23:55:10 +0000
commit454c5dcf11a5fc41f5dc2bf280fec167d686bcdf (patch)
treed49919bc71616a454dbc37287bfce0a563ddda51 /ldap/admin/src/instindex.cpp
parenta71ecb02bafbb303b35bae0bca6383fce30b8c21 (diff)
downloadds-454c5dcf11a5fc41f5dc2bf280fec167d686bcdf.tar.gz
ds-454c5dcf11a5fc41f5dc2bf280fec167d686bcdf.tar.xz
ds-454c5dcf11a5fc41f5dc2bf280fec167d686bcdf.zip
fix Windows build - use local functions instead of NSPR - fix compiler warnings
Diffstat (limited to 'ldap/admin/src/instindex.cpp')
-rw-r--r--ldap/admin/src/instindex.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ldap/admin/src/instindex.cpp b/ldap/admin/src/instindex.cpp
index 04ef1998..f37ef2df 100644
--- a/ldap/admin/src/instindex.cpp
+++ b/ldap/admin/src/instindex.cpp
@@ -22,10 +22,6 @@
#include <stdlib.h>
#include <string.h>
-#ifdef XP_WIN32
-#include "regparms.h"
-#endif
-
char *ds_salted_sha1_pw_enc(char* pwd);
@@ -313,7 +309,7 @@ printInfo(int argc, char *argv[], char *envp[], FILE* fp)
fprintf(fp, "#####################################\n");
}
-int main(int argc, char *argv[], char */*envp*/[])
+int main(int argc, char *argv[], char * /*envp*/ [])
{
char *rm = getenv("REQUEST_METHOD");
int status = 0;