blob: feb597a123efa66982669656e696bb3c1876e8a2 [file] [log] [blame]
--- linenoise.h.new 2015-04-13 02:38:43.000000000 -0500
+++ linenoise.h 2017-02-21 09:44:05.000000000 -0600
@@ -1,7 +1,5 @@
-/* linenoise.h -- VERSION 1.0
- *
- * Guerrilla line editing library against the idea that a line editing lib
- * needs to be 20,000 lines of C code.
+/* linenoise.h -- guerrilla line editing library against the idea that a
+ * line editing lib needs to be 20,000 lines of C code.
*
* See linenoise.c for more information.
*
@@ -36,9 +34,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/* Modified from original by Craig Chasseur as follows:
+ * - include stddef.h in header for size_t
+ * - do not trim newlines from end of input
+ */
+
#ifndef __LINENOISE_H
#define __LINENOISE_H
+#include <stddef.h>
+
#ifdef __cplusplus
extern "C" {
#endif