diff options
author | Flavio Leitner <fbl@sysclose.org> | 2020-06-10 16:49:45 -0300 |
---|---|---|
committer | William Tu <u9012063@gmail.com> | 2020-07-04 15:42:38 -0700 |
commit | 9ed9df77a3097146addd9cc2f53bffebd71c1343 (patch) | |
tree | 6509026e33b4b311b8ad7c6fa67ed72c3d26a3ca /include | |
parent | 0fc38297ba3830631e4a6ad3f9fbbe364e8a3b6b (diff) | |
download | openvswitch-9ed9df77a3097146addd9cc2f53bffebd71c1343.tar.gz |
ctags: Include new annotations to ctags ignore list.
The annotation OVS_NO_THREAD_SAFETY_ANALYSIS and OVS_LOCKABLE are
not part of the list, so ctags can't find functions using them.
The annotation list comes from a regex and to include more items
make the regex more difficult to read and maintain. Convert to a
static list because it isn't supposed to change much and there
is no standard names.
Also add a comment to remind to keep the list up-to-date.
Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: William Tu <u9012063@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/openvswitch/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openvswitch/compiler.h b/include/openvswitch/compiler.h index 5289a70f6..cf009f826 100644 --- a/include/openvswitch/compiler.h +++ b/include/openvswitch/compiler.h @@ -113,6 +113,8 @@ * OVS_REQUIRES OVS_REQ_RDLOCK OVS_REQ_WRLOCK * OVS_EXCLUDED OVS_EXCLUDED OVS_EXCLUDED */ + +/* Please keep OVS_CTAGS_IDENTIFIERS up-to-date in acinclude.m4. */ #define OVS_LOCKABLE __attribute__((lockable)) #define OVS_REQ_RDLOCK(...) __attribute__((shared_locks_required(__VA_ARGS__))) #define OVS_ACQ_RDLOCK(...) __attribute__((shared_lock_function(__VA_ARGS__))) |