]> git.sur5r.net Git - openldap/blobdiff - clients/ud/ud.h
Fix format %x -> %lx in des_string_to_key
[openldap] / clients / ud / ud.h
index ab893e3a2561191c5766acd9fa273519de1dde65..3dd04bbc372dc998e93785411eabcfba904792de 100644 (file)
@@ -1,3 +1,12 @@
+/*
+ * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted only
+ * as authorized by the OpenLDAP Public License.  A copy of this
+ * license is available at http://www.OpenLDAP.org/license.html or
+ * in file LICENSE in the top-level directory of the distribution.
+ */
 /*
  * Copyright (c) 1991, 1992, 1993 
  * Regents of the University of Michigan.  All rights reserved.
@@ -28,7 +37,7 @@
  *  parsing names.
  */
 #define MAX_NAME_COMPS         8
-#define isnamesepartor(x)      (isspace(x))
+#define isnamesepartor(x)      (isspace((unsigned char) (x)))
 #define isignorechar(x)                (((x) == '.') || ((x) == '_'))
 
 /*
@@ -269,7 +278,6 @@ void ka_StringToKey LDAP_P(( char *str, char *cell, des_cblock *key ));
 #endif
 
 /* in util.c: */
-char *mygetpass        LDAP_P(( char *prompt ));
 void printbase LDAP_P(( char *lead, char *s ));
 void fetch_buffer      LDAP_P(( char *buffer, int length, FILE *where ));
 void fatal     LDAP_P(( char *s ));