X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Flutil_lockf.h;h=45920b0746f90063826c360335aee1a23d0517f0;hb=c56564e2b56e8c636a5f37d0f94354aea9724c59;hp=ec9f0e6e046a05f669768e62bf29491c324cf074;hpb=0991e22550247e142a5e10dee3c7e29dbb8af7e1;p=openldap diff --git a/include/lutil_lockf.h b/include/lutil_lockf.h index ec9f0e6e04..45920b0746 100644 --- a/include/lutil_lockf.h +++ b/include/lutil_lockf.h @@ -1,12 +1,16 @@ /* $OpenLDAP$ */ -/* - * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA +/* This work is part of OpenLDAP Software . + * + * Copyright 1998-2007 The OpenLDAP Foundation. * 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. + * 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 in file LICENSE in the + * top-level directory of the distribution or, alternatively, at + * . */ /* File locking methods @@ -19,19 +23,10 @@ LDAP_BEGIN_DECL -#ifdef __MINGW32__ -# undef LDAP_F_PRE -# ifdef LIBLUTIL_DECL -# define LDAP_F_PRE extern __declspec(LIBLUTIL_DECL) -# else -# define LDAP_F_PRE extern -# endif -#endif - -LDAP_F( int ) +LDAP_LUTIL_F( int ) lutil_lockf LDAP_P(( int fd )); -LDAP_F( int ) +LDAP_LUTIL_F( int ) lutil_unlockf LDAP_P(( int fd )); LDAP_END_DECL