aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-03-11 10:31:19 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-14 15:22:14 +0100
commit7b74dda31bc05a7210bbbcb382b78d6f9cde5b15 (patch)
tree71765cfe0d0758433f1767d6057f547bf2fc8449 /include/osmocom
parentb592ab71a7e3d49d62ea986401f0902953375057 (diff)
remove references to u_char type, use 'unsigned char' instead
... u_char not being defined on Nuttx.
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/vty/buffer.h2
-rw-r--r--include/osmocom/vty/command.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/vty/buffer.h b/include/osmocom/vty/buffer.h
index 482a919e..f6c86a16 100644
--- a/include/osmocom/vty/buffer.h
+++ b/include/osmocom/vty/buffer.h
@@ -39,7 +39,7 @@ void buffer_free(struct buffer *);
/* Add the given data to the end of the buffer. */
extern void buffer_put(struct buffer *, const void *, size_t);
/* Add a single character to the end of the buffer. */
-extern void buffer_putc(struct buffer *, u_char);
+extern void buffer_putc(struct buffer *, unsigned char);
/* Add a NUL-terminated string to the end of the buffer. */
extern void buffer_putstr(struct buffer *, const char *);
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h
index 3acbe78f..89dc28fc 100644
--- a/include/osmocom/vty/command.h
+++ b/include/osmocom/vty/command.h
@@ -122,7 +122,7 @@ struct cmd_element {
unsigned int cmdsize; /*!< \brief Command index count. */
char *config; /*!< \brief Configuration string */
vector subconfig; /*!< \brief Sub configuration string */
- u_char attr; /*!< \brief Command attributes */
+ unsigned char attr; /*!< \brief Command attributes */
};
/*! \brief Command description structure. */