diff options
author | Gedare Bloom <gedare@rtems.org> | 2015-03-06 12:41:49 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2015-03-10 12:53:07 -0400 |
commit | 3ac681191ec76f7c0a876f2f2cc33adad9a99cc0 (patch) | |
tree | 82b28c195eef15fdbb9f6e0459d53260597e42d2 /c/src/librtems++ | |
parent | cpukit/libcrypt/misc.c: Reverse order of statements in ifdef (diff) | |
download | rtems-3ac681191ec76f7c0a876f2f2cc33adad9a99cc0.tar.bz2 |
cpukit: deprecate notepads
Deprecate Classic API Notepads. Mark task_set/get_note() with
the deprecated attribute, and also mark the notepads field.
Replace disable with enable option for notepads in confdefs.h,
and make notepads disabled by default. The previous option
CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is now unused and
will emit a compile-time warning. A new option
CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is available to turn
on notepads, but it also will emit a compile-time warning
to indicate that notepads are deprecated.
Closes #2265
Diffstat (limited to 'c/src/librtems++')
-rw-r--r-- | c/src/librtems++/include/rtems++/rtemsTask.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/librtems++/include/rtems++/rtemsTask.h b/c/src/librtems++/include/rtems++/rtemsTask.h index 6d19b460f4..6a500b0db0 100644 --- a/c/src/librtems++/include/rtems++/rtemsTask.h +++ b/c/src/librtems++/include/rtems++/rtemsTask.h @@ -127,9 +127,9 @@ public: // notepad control const rtems_status_code get_note(const uint32_t notepad, - uint32_t& note); + uint32_t& note) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; const rtems_status_code set_note(const uint32_t notepad, - const uint32_t note); + const uint32_t note) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; // object id, and name const rtems_id id_is() const { return id; } |