summaryrefslogtreecommitdiffstats
path: root/contrib/nvi/common/mark.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/nvi/common/mark.h')
-rw-r--r--contrib/nvi/common/mark.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/nvi/common/mark.h b/contrib/nvi/common/mark.h
index 9c63e18..44b8a19 100644
--- a/contrib/nvi/common/mark.h
+++ b/contrib/nvi/common/mark.h
@@ -6,7 +6,7 @@
*
* See the LICENSE file for redistribution information.
*
- * @(#)mark.h 10.3 (Berkeley) 3/6/96
+ * $Id: mark.h,v 10.6 2011/07/04 14:41:51 zy Exp $
*/
/*
@@ -28,9 +28,10 @@ struct _mark {
};
struct _lmark {
- LIST_ENTRY(_lmark) q; /* Linked list of marks. */
+ SLIST_ENTRY(_lmark) q; /* Linked list of marks. */
recno_t lno; /* Line number. */
size_t cno; /* Column number. */
+ /* XXXX Needed ? Can non ascii-chars be mark names ? */
CHAR_T name; /* Mark name. */
#define MARK_DELETED 0x01 /* Mark was deleted. */
OpenPOWER on IntegriCloud