]> git.pond.sub.org Git - empserver/blobdiff - src/client/linebuf.c
Update copyright notice
[empserver] / src / client / linebuf.c
index 2b9c4143de7d8483319b94b6eb87158795e152af..9f1487e043108db3b433b517dd684d34c4f73b16 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -38,7 +38,7 @@
 
 /*
  * Initialize empty line buffer.
- * Not necessary if *LBUF is already zeroed.
+ * Not necessary if *@lbuf is already zeroed.
  */
 void
 lbuf_init(struct lbuf *lbuf)
@@ -57,7 +57,7 @@ lbuf_len(struct lbuf *lbuf)
 }
 
 /*
- * Is LBUF full (i.e. we got the newline)?
+ * Is @lbuf full (i.e. we got the newline)?
  */
 int
 lbuf_full(struct lbuf *lbuf)
@@ -79,9 +79,9 @@ lbuf_line(struct lbuf *lbuf)
 }
 
 /*
- * Append CH to the line buffered in LBUF.
- * LBUF must not be full.
- * If CH is a newline, the buffer is now full.  Return the line
+ * Append @ch to the line buffered in @lbuf.
+ * @lbuf must not be full.
+ * If @ch is a newline, the buffer is now full.  Return the line
  * length, including the newline.
  * Else return 0 if there was space, and -1 if not.
  */