OSDN Git Service

notime
authorsparky4 <sparky4@cock.li>
Mon, 6 Nov 2017 18:31:44 +0000 (12:31 -0600)
committersparky4 <sparky4@cock.li>
Mon, 6 Nov 2017 18:31:44 +0000 (12:31 -0600)
src/palllist.c

index daab2b3..023593b 100755 (executable)
@@ -163,12 +163,12 @@ 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
+       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