Skip to content

Commit ab0dc8c

Browse files
committed
- Removed tabs from sources
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8108 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent a15e548 commit ab0dc8c

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

c_runtime/meta_modelica_gc_list.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void list_dump(mmc_List* list)
232232
}
233233
else
234234
{
235-
fprintf(stderr, "\nElements in the List: ");
235+
fprintf(stderr, "\nElements in the List: ");
236236
/* traverse the entire linked list */
237237
while(curPtr != NULL)
238238
{
@@ -269,16 +269,16 @@ int list_reverse(mmc_List* list)
269269
/* clone a list in reverse! */
270270
mmc_List list_clone(mmc_List list)
271271
{
272-
mmc_List lst = NULL, curPtr = list;
272+
mmc_List lst = NULL, curPtr = list;
273273

274-
/* if empty return empty */
275-
if (!curPtr)
276-
return lst;
274+
/* if empty return empty */
275+
if (!curPtr)
276+
return lst;
277277

278278
while(curPtr != NULL)
279279
{
280-
list_cons(&lst, curPtr->el);
281-
curPtr = curPtr->next;
280+
list_cons(&lst, curPtr->el);
281+
curPtr = curPtr->next;
282282
}
283283

284284
return lst;

c_runtime/meta_modelica_gc_list.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ extern "C" {
4141
/* a free slot */
4242
struct mmc_GC_free_slot
4343
{
44-
modelica_metatype start; /* the start of the free slot */
45-
long size; /* the free slot size */
44+
modelica_metatype start; /* the start of the free slot */
45+
long size; /* the free slot size */
4646
};
4747
typedef struct mmc_GC_free_slot mmc_GC_free_slot;
4848

4949
/* a linked list */
5050
struct mmc_ListElement
5151
{
52-
mmc_GC_free_slot el;
53-
struct mmc_ListElement *next;
52+
mmc_GC_free_slot el;
53+
struct mmc_ListElement *next;
5454
};
5555
typedef struct mmc_ListElement* mmc_List;
5656

c_runtime/meta_modelica_gc_stats.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ extern "C" {
4949
/* GC statistics, add more here if needed */
5050
struct mmc_GC_stats_type
5151
{
52-
long allocated; /* the total allocated memory */
53-
long collected; /* the total collected memory */
54-
long collections; /* the number of performed collections */
52+
long allocated; /* the total allocated memory */
53+
long collected; /* the total collected memory */
54+
long collections; /* the number of performed collections */
5555
};
5656
typedef struct mmc_GC_stats_type mmc_GC_stats_type;
5757

0 commit comments

Comments
 (0)