Skip to content
Snippets Groups Projects
Commit 62e9d29f authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

arm: sanitize user_def.h

parent c5f91d0f
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ add_library(box
request.cc
txn.cc
box.cc
user_def.cc
user_def.c
user.cc
authentication.cc
vclock.c
......
File moved
......@@ -33,6 +33,10 @@
#include "key_def.h" /* for SCHEMA_OBJECT_TYPE */
#include "scramble.h" /* for SCRAMBLE_SIZE */
#if defined(__cplusplus)
extern "C" {
#endif /* defined(__cplusplus) */
enum {
/* SELECT */
PRIV_R = 1,
......@@ -71,4 +75,8 @@ struct user_def {
/** Predefined user ids. */
enum { GUEST = 0, ADMIN = 1, PUBLIC = 2 /* role */ };
#if defined(__cplusplus)
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* TARANTOOL_BOX_USER_DEF_H_INCLUDED */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment