]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/error.c
All implementations of lutil_lockf (aka ldap_lockf) block until
[openldap] / libraries / libldap / error.c
index ed911cb5f8015dc8901e1c204974f46e15440ae7..96883b3471168ff6ad3ae223d9db4cbe7accc21b 100644 (file)
@@ -1,3 +1,8 @@
+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
+
 #include "portable.h"
 
 #include <stdio.h>
@@ -14,7 +19,7 @@ struct ldaperror {
        char    *e_reason;
 };
 
-static struct ldaperror ldap_errlist[] = {
+static const struct ldaperror ldap_errlist[] = {
        {LDAP_SUCCESS,                                  "Success" },
        {LDAP_OPERATIONS_ERROR,                 "Operations error" },
        {LDAP_PROTOCOL_ERROR,                   "Protocol error" },