summaryrefslogtreecommitdiffstats
path: root/libutil
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-12-16 17:52:15 +0000
committerBruce Evans <bde@FreeBSD.org>1998-12-16 17:52:15 +0000
commit5ac39a82340c29ece9436736d168dd3d566c5d3b (patch)
tree73dbeff4a54bac2ff44988f65b5d77aa909d78e9 /libutil
parent7c4edeef18bc7eef9f0e6363ff34cc7fc98c2143 (diff)
downloadpw-darwin-5ac39a82340c29ece9436736d168dd3d566c5d3b.tar.gz
pw-darwin-5ac39a82340c29ece9436736d168dd3d566c5d3b.tar.zst
pw-darwin-5ac39a82340c29ece9436736d168dd3d566c5d3b.zip
Declare setproctitle() as printf0-like.
Diffstat (limited to 'libutil')
-rw-r--r--libutil/libutil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h
index 2aa2ad0..dda01c1 100644
--- a/libutil/libutil.h
+++ b/libutil/libutil.h
@@ -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));