summaryrefslogtreecommitdiff
path: root/usr.bin/mg/def.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-23 15:35:11 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-23 15:35:11 +0000
commit218a52aa50ed489e69cc656102edcf0e798655b0 (patch)
tree83eb7a02fa86fba45d844fedc6f9121b35119090 /usr.bin/mg/def.h
parentabb61ce683318d721396b54a1f1ac6745f07d3f9 (diff)
Add addlinef that's an addline with printf-style format arguments.
Make addline a wrapper around addlinef. (should go away)
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r--usr.bin/mg/def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index f1394f0a7e2..a9f9ebaf102 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.10 2001/05/04 22:00:35 art Exp $ */
+/* $OpenBSD: def.h,v 1.11 2001/05/23 15:35:10 art Exp $ */
/*
* This file is the general header file for all parts
@@ -368,6 +368,7 @@ int killbuffer __P((int, int));
int savebuffers __P((int, int));
int listbuffers __P((int, int));
int addline __P((BUFFER *, char *));
+int addlinef __P((BUFFER *, char *, ...));
int anycb __P((int));
int bclear __P((BUFFER *));
int showbuffer __P((BUFFER *, MGWIN *, int));