From f3c285ec50841763596e481b8c65e33e73e2d53b Mon Sep 17 00:00:00 2001 From: Victor Fernandes Date: Mon, 13 Feb 2017 19:02:33 -0500 Subject: [PATCH] merge conflict --- buffer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buffer.h b/buffer.h index 837e730..8148777 100755 --- a/buffer.h +++ b/buffer.h @@ -19,7 +19,7 @@ /* standard header files */ #include /* standard input/output */ -#include /* for dynamic memory allocation.*/ +#include /* for dynamic memory allocation.*/ #include /* implementation-defined data type ranges and limits */ /* constant definitions */ @@ -61,7 +61,7 @@ typedef struct BufferDescriptor { short capacity; /* current dynamic memory size (in bytes) allocated to character buffer */ short addc_offset; /* the offset (in chars) to the add-character location */ short getc_offset; /* the offset (in chars) to the get-character location */ - short mark_coffset; /* the offset (in chars) to the mark location */ + short mark_offset; /* the offset (in chars) to the mark location */ char inc_factor; /* character array increment factor */ char r_flag; /* reallocation flag */ char mode; /* operational mode indicator*/ @@ -91,5 +91,6 @@ char b_rflag(Buffer* const); short b_retract(Buffer* const); short b_retract_to_mark(Buffer* const); short b_getcoffset(Buffer* const); +char* b_cbhead(Buffer* const); #endif