diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-11-01 23:52:11 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-11-01 23:52:11 +0000 |
commit | cf6224886db05f9768038ce69c4c9f3f37d206a3 (patch) | |
tree | be54a41a65525bf9f2a1ded629d3b2ae34e85f43 /include/stdlib.h | |
parent | 62863183e41ce9f900e724f0327c4df1a7a4978d (diff) |
Mention printf-like attributes for setproctitle().
millert@ espie@ ok
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 63f491e313f..675a4d11615 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdlib.h,v 1.13 2001/06/18 18:11:12 millert Exp $ */ +/* $OpenBSD: stdlib.h,v 1.14 2001/11/01 23:52:10 miod Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- @@ -185,7 +185,8 @@ void srandomdev __P((void)); int putenv __P((const char *)); int setenv __P((const char *, const char *, int)); void unsetenv __P((const char *)); -void setproctitle __P((const char *, ...)); +void setproctitle __P((const char *, ...)) + __attribute__((__format__ (printf, 1, 2))); quad_t qabs __P((quad_t)); qdiv_t qdiv __P((quad_t, quad_t)); |