diff --git a/include/osmocom/vty/vty.h b/include/osmocom/vty/vty.h index 9acaa7d2c..b63dc3bfa 100644 --- a/include/osmocom/vty/vty.h +++ b/include/osmocom/vty/vty.h @@ -5,6 +5,7 @@ #include #include +#include /*! \defgroup vty VTY (Virtual TTY) interface * @{ @@ -186,7 +187,9 @@ struct vty_app_info { int (*go_parent_cb)(struct vty *vty); /*! OBSOLETED: Implicit parent node tracking has replaced the use of this callback. This callback is no longer * called, ever, and can be left NULL. */ - int (*is_config_node)(struct vty *vty, int node); + int (*is_config_node)(struct vty *vty, int node) + OSMO_DEPRECATED("Implicit parent node tracking has replaced the use of this callback. This callback is" + " no longer called, ever, and can be left NULL."); /*! Check if the config is consistent before write */ int (*config_is_consistent)(struct vty *vty); };