aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/include
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-02-02 06:53:07 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:54 -0400
commit1251c6e396dffd218d85db13be211ff34365279e (patch)
treee06375deaffc734ca393409c81f0122a95c17692 /libmaple/include
parent4dc4d99fdddffdeb3e14e722e935c76c74ff9a15 (diff)
downloadlibrambutan-1251c6e396dffd218d85db13be211ff34365279e.tar.gz
librambutan-1251c6e396dffd218d85db13be211ff34365279e.zip
libmaple_types.h: Add __deprecated.
This is a define for __attribute__((deprecated)). Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/include')
-rw-r--r--libmaple/include/libmaple/libmaple_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/include/libmaple/libmaple_types.h b/libmaple/include/libmaple/libmaple_types.h
index 19a5101..25ad222 100644
--- a/libmaple/include/libmaple/libmaple_types.h
+++ b/libmaple/include/libmaple/libmaple_types.h
@@ -52,6 +52,7 @@ typedef void (*voidFuncPtr)(void);
#define __io volatile
#define __attr_flash __attribute__((section (".USER_FLASH")))
#define __packed __attribute__((__packed__))
+#define __deprecated __attribute__((__deprecated__))
#ifndef NULL
#define NULL 0