]> 4ch.mooo.com Git - 16.git/blobdiff - src/palllist.c
updated the copyleft wwww i am not deAD! i just been 2 busy last 6 monthes
[16.git] / src / palllist.c
index daab2b3840d15d93baacd18c1b533269344284de..e9367545b9d1bd3caf60a84a87babb92444a093a 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2018 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
@@ -163,21 +163,20 @@ void main()
    \r
        /* Let us create a sorted linked list to test the functions\r
         Created linked list will be 11->11->11->13->13->20 */\r
-       push(&head, 20);\r
-       push(&head, 13);\r
-       push(&head, 13);  \r
-       push(&head, 11);\r
-       push(&head, 11);\r
-       push(&head, 11); \r
\r
+       pushll(&head, 20);\r
+       pushll(&head, 13);\r
+       pushll(&head, 13);\r
+       pushll(&head, 11);\r
+       pushll(&head, 11);\r
+       pushll(&head, 11);\r
+\r
        printf("\n Linked list before duplicate removal  ");\r
-       printList(head); \r
\r
+       printList(head);\r
+\r
        /* Remove duplicates from linked list */\r
-       removeDuplicates(head); \r
\r
-       printf("\n Linked list after duplicate removal ");               \r
-       printList(head);                        \r
-       \r
+       removeDuplicates(head);\r
+\r
+       printf("\n Linked list after duplicate removal ");\r
+       printList(head);\r
 }\r
 #endif\r