summaryrefslogtreecommitdiffstats
path: root/common/list.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-10-16 23:14:06 -0700
committerPavel Roskin <plroskin@gmail.com>2016-10-17 08:54:07 -0700
commit6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3 (patch)
tree6d1c34a0f0b598b802af3fdcf31c40d0ad1b64c4 /common/list.c
parentbc868b96b1a88085cf141428ef8c72f5cd496c2e (diff)
downloadxrdp-proprietary-6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3.tar.gz
xrdp-proprietary-6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3.zip
Use const pointers in function arguments when possible
Diffstat (limited to 'common/list.c')
-rw-r--r--common/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/list.c b/common/list.c
index 5873d41d..47b15737 100644
--- a/common/list.c
+++ b/common/list.c
@@ -82,7 +82,7 @@ list_add_item(struct list *self, tbus item)
/*****************************************************************************/
tbus APP_CC
-list_get_item(struct list *self, int index)
+list_get_item(const struct list *self, int index)
{
if (index < 0 || index >= self->count)
{