Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include prototype for strpct



details:   https://anonhg.NetBSD.org/src/rev/e9c8a9f31aac
branches:  trunk
changeset: 768861:e9c8a9f31aac
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Aug 28 07:46:13 2011 +0000

description:
prototype for strpct

diffstat:

 include/util.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 26422f861b01 -r e9c8a9f31aac include/util.h
--- a/include/util.h    Sun Aug 28 07:45:13 2011 +0000
+++ b/include/util.h    Sun Aug 28 07:46:13 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.h,v 1.57 2011/08/26 01:48:39 joerg Exp $  */
+/*     $NetBSD: util.h,v 1.58 2011/08/28 07:46:13 christos Exp $       */
 
 /*-
  * Copyright (c) 1995
@@ -41,6 +41,7 @@
 #include <termios.h>
 #include <utmp.h>
 #include <utmpx.h>
+#include <stdint.h>
 #include <machine/ansi.h>
 
 #ifdef  _BSD_TIME_T_
@@ -117,6 +118,7 @@
 int            snprintb(char *, size_t, const char *, uint64_t);
 int            sockaddr_snprintf(char *, size_t, const char *,
     const struct sockaddr *);
+char          *strpct(char *, size_t, uintmax_t, uintmax_t, size_t);
 int            string_to_flags(char **, unsigned long *, unsigned long *);
 int            ttyaction(const char *, const char *, const char *);
 int            ttylock(const char *, int, pid_t *);



Home | Main Index | Thread Index | Old Index