diff --git a/include/ldap_rq.h b/include/ldap_rq.h index 0c1d1c158f..084684eb31 100644 --- a/include/ldap_rq.h +++ b/include/ldap_rq.h @@ -1,4 +1,14 @@ /* $OpenLDAP$ */ +/* + * Copyright 2003 The OpenLDAP Foundation, Redwood City, California, USA + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, 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. + */ #ifdef LDAP_SYNCREPL diff --git a/libraries/libldap_r/rdwr.c b/libraries/libldap_r/rdwr.c index ef90061915..ad0e3a6039 100644 --- a/libraries/libldap_r/rdwr.c +++ b/libraries/libldap_r/rdwr.c @@ -1,4 +1,8 @@ /* $OpenLDAP$ */ +/* + * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* ** This is an improved implementation of Reader/Writer locks does ** not protect writers from starvation. That is, if a writer is diff --git a/libraries/libldap_r/rq.c b/libraries/libldap_r/rq.c index 8aa9b0b76a..77d4227a42 100644 --- a/libraries/libldap_r/rq.c +++ b/libraries/libldap_r/rq.c @@ -1,4 +1,8 @@ /* $OpenLDAP$ */ +/* + * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" #include diff --git a/libraries/liblutil/detach.c b/libraries/liblutil/detach.c index 3692a46de0..1b7125b6ac 100644 --- a/libraries/liblutil/detach.c +++ b/libraries/liblutil/detach.c @@ -1,4 +1,8 @@ /* $OpenLDAP$ */ +/* + * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1990, 1994 Regents of the University of Michigan. * All rights reserved. diff --git a/libraries/liblutil/hash.c b/libraries/liblutil/hash.c index 172b0b8d8d..5422d6d256 100644 --- a/libraries/liblutil/hash.c +++ b/libraries/liblutil/hash.c @@ -1,4 +1,8 @@ /* $OpenLDAP$ */ +/* + * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* This implements the Fowler / Noll / Vo (FNV-1) hash algorithm. * A summary of the algorithm can be found at: * http://www.isthe.com/chongo/tech/comp/fnv/index.html diff --git a/libraries/liblutil/memcmp.c b/libraries/liblutil/memcmp.c index eed4b89dee..d781183c1c 100644 --- a/libraries/liblutil/memcmp.c +++ b/libraries/liblutil/memcmp.c @@ -1,4 +1,8 @@ /* $OpenLDAP$ */ +/* + * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" #include diff --git a/libraries/liblutil/setproctitle.c b/libraries/liblutil/setproctitle.c index 8a095e2c5d..e592ae1bad 100644 --- a/libraries/liblutil/setproctitle.c +++ b/libraries/liblutil/setproctitle.c @@ -1,16 +1,8 @@ /* $OpenLDAP$ */ -#include "portable.h" - -#ifndef HAVE_SETPROCTITLE - -#include - -#include - -#include -#include -#include - +/* + * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1990,1991 Regents of the University of Michigan. * All rights reserved. @@ -23,6 +15,18 @@ * is provided ``as is'' without express or implied warranty. */ +#include "portable.h" + +#ifndef HAVE_SETPROCTITLE + +#include + +#include + +#include +#include +#include + char **Argv; /* pointer to original (main's) argv */ int Argc; /* original argc */