Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ly_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
/** printf compiler attribute */
#if defined (__GNUC__) || defined (__llvm__)
# define _FORMAT_PRINTF(FORM, ARGS) __attribute__((format (printf, FORM, ARGS)))
# define _DEPRECATED __attribute__((__deprecated__))
# define LY_DEPRECATED __attribute__((__deprecated__))
#else
# define _FORMAT_PRINTF(FORM, ARGS)
# define _DEPRECATED
# define LY_DEPRECATED
#endif

/** Exporting symbols to a shared library and importing back afterwards
Expand Down
2 changes: 1 addition & 1 deletion src/tree_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@ LIBYANG_API_DECL LY_ERR lyd_new_term_raw_canon(struct lyd_node *parent, const st
* @brief Deprecated, use ::lyd_new_term_raw_canon() instead. Produces nodes without canonical values.
*/
LIBYANG_API_DECL LY_ERR lyd_new_term_raw(struct lyd_node *parent, const struct lys_module *module, const char *name,
const void *value_ptr, uint32_t value_size, uint32_t options, struct lyd_node **node) _DEPRECATED;
const void *value_ptr, uint32_t value_size, uint32_t options, struct lyd_node **node) LY_DEPRECATED;

/**
* @brief Create a new any node in the data tree.
Expand Down
Loading