summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-09 17:54:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-10 18:32:08 +0100
commitaf6fdd68240c3b05c3cc16b422839bd6dc14175a (patch)
tree579de4dc96c402790089dde993dc16034762b0a1 /vcl
parentd429ea8ac159283dc5ff862c254868a987a9f42b (diff)
Avoid reserved identifier
Change-Id: Ie62bbf64a9cdb74725fd48a8f8dcc1ab76d97219
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/fontsubset/list.cxx4
-rw-r--r--vcl/source/fontsubset/list.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/fontsubset/list.cxx b/vcl/source/fontsubset/list.cxx
index 42cc6577f0c2..ca9653e02983 100644
--- a/vcl/source/fontsubset/list.cxx
+++ b/vcl/source/fontsubset/list.cxx
@@ -39,7 +39,7 @@ typedef struct _lnode {
} lnode;
-struct _list {
+struct list_ {
lnode *head, *tail, *cptr;
size_t aCount;
list_destructor eDtor;
@@ -84,7 +84,7 @@ static lnode *appendPrim(list pThis, void *el)
/*- public methods */
list listNewEmpty() /*- default ctor */
{
- list pThis = static_cast<list>(rtl_allocateMemory(sizeof(struct _list)));
+ list pThis = static_cast<list>(rtl_allocateMemory(sizeof(struct list_)));
assert(pThis != nullptr);
pThis->aCount = 0;
diff --git a/vcl/source/fontsubset/list.h b/vcl/source/fontsubset/list.h
index 93a47109b60f..18fda151a472 100644
--- a/vcl/source/fontsubset/list.h
+++ b/vcl/source/fontsubset/list.h
@@ -37,7 +37,7 @@ extern "C"
* List of void * pointers
*/
- typedef struct _list *list;
+ typedef struct list_ *list;
typedef void (*list_destructor)(void *);
/*- constructors and a destructor */