summaryrefslogtreecommitdiff
path: root/usr.bin/mg/def.h
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2006-04-06 05:28:18 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2006-04-06 05:28:18 +0000
commit97610ff36cbd96be074affe1bbf11c2b3053120e (patch)
treeaa6ba1c6920bb948c34a411d1a44b3060b6c4117 /usr.bin/mg/def.h
parent3338c9e2e785ecbbbb4c24aaf79ebdf77f0d26ec (diff)
Fix a bug whereby a written buffer (^X^W) would not have the correct
trailing buffer number appended (e.g. "file<2>") in case an existing buffer shared its basename().
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 cc5d93e7a32..a9549d5e195 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.84 2006/04/03 02:43:22 kjell Exp $ */
+/* $OpenBSD: def.h,v 1.85 2006/04/06 05:28:17 kjell Exp $ */
/* This file is in the public domain. */
@@ -386,6 +386,7 @@ int addlinef(struct buffer *, char *, ...);
int anycb(int);
int bclear(struct buffer *);
int showbuffer(struct buffer *, struct mgwin *, int);
+int baugname(char *, const char *, size_t);
struct mgwin *popbuf(struct buffer *);
int bufferinsert(int, int);
int usebuffer(int, int);