From ccbfdaa527136fe47b2c3902f5b437860c8d3faf Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 18 Dec 2009 14:56:25 +0000 Subject: Update to use stdint/stdbool.h git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2381 42af7a65-404d-4744-a932-0658087f49c3 --- misc/pascal/include/paslib.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'misc/pascal/include/paslib.h') diff --git a/misc/pascal/include/paslib.h b/misc/pascal/include/paslib.h index 3dfd51191..7b2016401 100644 --- a/misc/pascal/include/paslib.h +++ b/misc/pascal/include/paslib.h @@ -2,7 +2,7 @@ * include/paslib.h * External Declarations associated with paslib * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -42,6 +42,8 @@ ***************************************************************************/ #include "keywords.h" +#include "stdint.h" +#include "stdbool.h" #include "pdefs.h" #include "pofflib.h" @@ -67,18 +69,18 @@ /* File name extension helper */ -extern boolean extension(const char *inName, const char *ext, char *outName, - boolean force_default); +extern bool extension(const char *inName, const char *ext, char *outName, + bool force_default); /* Math helpers */ -extern sint32 signExtend16(uint16 arg16); -extern sint32 signExtend25(uint32 arg25); +extern int32_t signExtend16(uint16_t arg16); +extern int32_t signExtend25(uint32_t arg25); /* Endian-ness helpers */ -extern uint16 poffSwap16(uint16 val); -extern uint32 poffSwap32(uint32 val); +extern uint16_t poffSwap16(uint16_t val); +extern uint32_t poffSwap32(uint32_t val); /*************************************************************************** * Global Variables -- cgit v1.2.3