summaryrefslogtreecommitdiffstats
path: root/common/list.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-03-12 09:35:00 -0700
committerjsorg71 <jay.sorg@gmail.com>2017-03-14 00:21:48 -0700
commit6ed4c969f4d646a7751fe2da29ba94eddd3d6477 (patch)
tree951c72b16a0be1a1cc8c77e6d2ecaa1f25f2bcd6 /common/list.c
parent8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff)
downloadxrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz
xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'common/list.c')
-rw-r--r--common/list.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/common/list.c b/common/list.c
index 71f2d84a..8224c353 100644
--- a/common/list.c
+++ b/common/list.c
@@ -27,7 +27,7 @@
#include "list.h"
/*****************************************************************************/
-struct list *APP_CC
+struct list *
list_create(void)
{
struct list *self;
@@ -40,7 +40,7 @@ list_create(void)
}
/*****************************************************************************/
-void APP_CC
+void
list_delete(struct list *self)
{
int i;
@@ -64,7 +64,7 @@ list_delete(struct list *self)
}
/*****************************************************************************/
-void APP_CC
+void
list_add_item(struct list *self, tbus item)
{
tbus *p;
@@ -85,7 +85,7 @@ list_add_item(struct list *self, tbus item)
}
/*****************************************************************************/
-tbus APP_CC
+tbus
list_get_item(const struct list *self, int index)
{
if (index < 0 || index >= self->count)
@@ -97,7 +97,7 @@ list_get_item(const struct list *self, int index)
}
/*****************************************************************************/
-void APP_CC
+void
list_clear(struct list *self)
{
int i;
@@ -119,7 +119,7 @@ list_clear(struct list *self)
}
/*****************************************************************************/
-int APP_CC
+int
list_index_of(struct list *self, tbus item)
{
int i;
@@ -136,7 +136,7 @@ list_index_of(struct list *self, tbus item)
}
/*****************************************************************************/
-void APP_CC
+void
list_remove_item(struct list *self, int index)
{
int i;
@@ -159,7 +159,7 @@ list_remove_item(struct list *self, int index)
}
/*****************************************************************************/
-void APP_CC
+void
list_insert_item(struct list *self, int index, tbus item)
{
tbus *p;
@@ -197,7 +197,7 @@ list_insert_item(struct list *self, int index, tbus item)
/*****************************************************************************/
/* append one list to another using strdup for each item in the list */
/* begins copy at start_index, a zero based index on the source list */
-void APP_CC
+void
list_append_list_strdup(struct list *self, struct list *dest, int start_index)
{
int index;
@@ -213,7 +213,7 @@ list_append_list_strdup(struct list *self, struct list *dest, int start_index)
}
/*****************************************************************************/
-void APP_CC
+void
list_dump_items(struct list *self)
{
int index;