]> git.sur5r.net Git - openldap/blob - include/ac/setproctitle.h
Silence warning in prev commit
[openldap] / include / ac / setproctitle.h
1 /* Generic setproctitle.h */
2 /* $OpenLDAP$ */
3 /*
4  * Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted only as authorized by the OpenLDAP
9  * Public License.  A copy of this license is available at
10  * http://www.OpenLDAP.org/license.html or in file LICENSE in the
11  * top-level directory of the distribution.
12  */
13
14 #ifndef _AC_SETPROCTITLE_H
15 #define _AC_SETPROCTITLE_H
16
17 #ifdef LDAP_PROCTITLE
18
19 #if defined( HAVE_LIBUTIL_H )
20 #       include <libutil.h>
21 #else
22         /* use lutil version */
23         LDAP_LUTIL_F (void) (setproctitle) LDAP_P((const char *fmt, ...)) \
24                 LDAP_GCCATTR((format(printf, 1, 2)));
25         LDAP_LUTIL_V (int) Argc;
26         LDAP_LUTIL_V (char) **Argv;
27 #endif
28
29 #endif /* LDAP_PROCTITLE */
30 #endif /* _AC_SETPROCTITLE_H */