summaryrefslogtreecommitdiff
path: root/misc/pascal/include/paslib.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-18 14:56:25 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-18 14:56:25 +0000
commitccbfdaa527136fe47b2c3902f5b437860c8d3faf (patch)
treea6d972ab59b08c546bce529171a3e784f098faf0 /misc/pascal/include/paslib.h
parent6f8a7c6281e52a57946ac75c80b8bff1c744bb7c (diff)
downloadnuttx-ccbfdaa527136fe47b2c3902f5b437860c8d3faf.tar.gz
nuttx-ccbfdaa527136fe47b2c3902f5b437860c8d3faf.tar.bz2
nuttx-ccbfdaa527136fe47b2c3902f5b437860c8d3faf.zip
Update to use stdint/stdbool.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2381 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/pascal/include/paslib.h')
-rw-r--r--misc/pascal/include/paslib.h16
1 files changed, 9 insertions, 7 deletions
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 <spudmonkey@racsa.co.cr>
*
* 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