X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpalllist.c;h=023593b0e2d1e54fcfb1908c4913919a83bf93cf;hb=d48cfaf24d7fe48da7b3bd5a7bb89f859e83c280;hp=daab2b3840d15d93baacd18c1b533269344284de;hpb=48a59b737b260f4ae17210137c19486d1cc42eb3;p=16.git diff --git a/src/palllist.c b/src/palllist.c index daab2b38..023593b0 100755 --- a/src/palllist.c +++ b/src/palllist.c @@ -163,12 +163,12 @@ void main() /* Let us create a sorted linked list to test the functions Created linked list will be 11->11->11->13->13->20 */ - push(&head, 20); - push(&head, 13); - push(&head, 13); - push(&head, 11); - push(&head, 11); - push(&head, 11); + pushll(&head, 20); + pushll(&head, 13); + pushll(&head, 13); + pushll(&head, 11); + pushll(&head, 11); + pushll(&head, 11); printf("\n Linked list before duplicate removal "); printList(head);