Declare setproctitle() as printf0-like.

This commit is contained in:
Bruce Evans 1998-12-16 17:52:15 +00:00
parent d529713846
commit 8495e302f6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41876

View File

@ -18,7 +18,7 @@
* 5. Modifications may be freely made to this file providing the above
* conditions are met.
*
* $Id: libutil.h,v 1.19 1998/10/09 07:28:14 jkh Exp $
* $Id: libutil.h,v 1.20 1998/10/09 07:32:38 jkh Exp $
*/
#ifndef _LIBUTIL_H_
@ -39,7 +39,7 @@ struct winsize;
struct utmp;
__BEGIN_DECLS
void setproctitle __P((const char *_fmt, ...));
void setproctitle __P((const char *_fmt, ...)) __printf0like(1, 2);
void login __P((struct utmp *_ut));
int login_tty __P((int _fd));
int logout __P((char *_line));