vty: Mark app info strings as const char*.
authorHolger Hans Peter Freyther <zecke@selfish.org>
Tue, 8 Jun 2010 08:12:58 +0000 (16:12 +0800)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Tue, 8 Jun 2010 08:12:58 +0000 (16:12 +0800)
include/osmocom/vty/vty.h

index f017462..e7399ba 100644 (file)
@@ -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);
 };