mirror of https://github.com/tildeclub/ex-vi.git
always include inttypes.h
This commit is contained in:
parent
bceb4a7c92
commit
744680c3eb
2
Changes
2
Changes
|
@ -1,4 +1,4 @@
|
||||||
Release ...
|
Release 3/25/05
|
||||||
* vi no longer dies with a segmentation fault if a line does not fit on the
|
* vi no longer dies with a segmentation fault if a line does not fit on the
|
||||||
screen after an insertion.
|
screen after an insertion.
|
||||||
* The 'p' command now works correctly if the buffer contains a partial line
|
* The 'p' command now works correctly if the buffer contains a partial line
|
||||||
|
|
|
@ -70,12 +70,12 @@
|
||||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* Sccsid @(#)ex_version.c 1.131 (gritter) 3/24/05
|
* Sccsid @(#)ex_version.c 1.132 (gritter) 3/25/05
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ex.h"
|
#include "ex.h"
|
||||||
|
|
||||||
static char *versionstring = "@(#)Version 4.0 (gritter) 3/24/05";
|
static char *versionstring = "@(#)Version 4.0 (gritter) 3/25/05";
|
||||||
|
|
||||||
void
|
void
|
||||||
printver(void)
|
printver(void)
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* Sccsid @(#)mapmalloc.c 1.5 (gritter) 4/5/05
|
* Sccsid @(#)mapmalloc.c 1.6 (gritter) 6/19/05
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef VMUNIX
|
#ifdef VMUNIX
|
||||||
|
@ -45,6 +45,7 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
#include <inttypes.h>
|
||||||
|
|
||||||
#ifndef MAP_FAILED
|
#ifndef MAP_FAILED
|
||||||
#define MAP_FAILED ((void *)-1)
|
#define MAP_FAILED ((void *)-1)
|
||||||
|
@ -77,7 +78,6 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <inttypes.h>
|
|
||||||
int
|
int
|
||||||
botch(char *s)
|
botch(char *s)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue