Module Name: src
Committed By: christos
Date: Sun Aug 28 07:46:13 UTC 2011
Modified Files:
src/include: util.h
Log Message:
prototype for strpct
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/include/util.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/util.h
diff -u src/include/util.h:1.57 src/include/util.h:1.58
--- src/include/util.h:1.57 Thu Aug 25 21:48:39 2011
+++ src/include/util.h Sun Aug 28 03:46:13 2011
@@ -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 *);