summaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty/vty.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-08 16:12:58 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-08 16:12:58 +0800
commitdd19527cd2dc49e34973fdefa24acb2d9939e2c1 (patch)
treead5e301a9ab16c194473e46434a84dc6c0ab10a1 /include/osmocom/vty/vty.h
parent7b4913662aed261f39019c621f52c6e313b76274 (diff)
vty: Mark app info strings as const char*.
Diffstat (limited to 'include/osmocom/vty/vty.h')
-rw-r--r--include/osmocom/vty/vty.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/vty/vty.h b/include/osmocom/vty/vty.h
index f0174624..e7399ba1 100644
--- a/include/osmocom/vty/vty.h
+++ b/include/osmocom/vty/vty.h
@@ -128,9 +128,9 @@ static inline char *vty_newline(struct vty *vty)
}
struct vty_app_info {
- char *name;
- char *version;
- char *copyright;
+ const char *name;
+ const char *version;
+ const char *copyright;
void *tall_ctx;
enum node_type (*go_parent_cb)(struct vty *vty);
};