summaryrefslogtreecommitdiff
path: root/usr.bin/mg/def.h
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2006-07-25 08:22:33 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2006-07-25 08:22:33 +0000
commitb27fa2f6a9aae6a0a87897200334b193aa2882dd (patch)
tree78c6dd499c6a7fa94bfdc2b904111a8000d3f2e4 /usr.bin/mg/def.h
parent13c96fecbc7c5b3efb9b2f86588c8027f4de4ae0 (diff)
Rename the header line of a buffer to b_headp, from the remarkably
unintuitive b_linep. No binary change.
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r--usr.bin/mg/def.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index 7592cc8086a..78083f12d39 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.93 2006/07/08 17:56:10 kjell Exp $ */
+/* $OpenBSD: def.h,v 1.94 2006/07/25 08:22:32 kjell Exp $ */
/* This file is in the public domain. */
@@ -236,14 +236,14 @@ struct undo_rec;
* dot and mark in the header, but this is only valid if the buffer
* is not being displayed (that is, if "b_nwnd" is 0). The text for
* the buffer is kept in a circularly linked list of lines, with
- * a pointer to the header line in "b_linep".
+ * a pointer to the header line in "b_headp".
*/
struct buffer {
struct list b_list; /* buffer list pointer */
struct buffer *b_altb; /* Link to alternate buffer */
struct line *b_dotp; /* Link to "." line structure */
struct line *b_markp; /* ditto for mark */
- struct line *b_linep; /* Link to the header line */
+ struct line *b_headp; /* Link to the header line */
struct maps_s *b_modes[PBMODES]; /* buffer modes */
int b_doto; /* Offset of "." in above line */
int b_marko; /* ditto for the "mark" */