]> git.sur5r.net Git - openldap/blobdiff - include/ac/setproctitle.h
streamline group attr specification/diagnostics
[openldap] / include / ac / setproctitle.h
index c85eb452da9e8857c2f8bd34392904eef2c002d1..84e165bd8fed53bf2ff455230eaada45cbabd6f1 100644 (file)
@@ -1,12 +1,17 @@
 /* Generic setproctitle.h */
-/*
- * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+/* $OpenLDAP$ */
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * 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
+ * <http://www.OpenLDAP.org/license.html>.
  */
 
 #ifndef _AC_SETPROCTITLE_H
 #      include <libutil.h>
 #else
        /* use lutil version */
-       LDAP_F(void) (setproctitle) LDAP_P((const char *fmt, ...));
-       LDAP_F(int) Argc;
-       LDAP_F(char) **Argv;
+       LDAP_LUTIL_F (void) (setproctitle) LDAP_P((const char *fmt, ...)) \
+               LDAP_GCCATTR((format(printf, 1, 2)));
+       LDAP_LUTIL_V (int) Argc;
+       LDAP_LUTIL_V (char) **Argv;
 #endif
 
 #endif /* LDAP_PROCTITLE */