Repositories » libk0
Clone URL:  
Pushed to one repository · View In Graph Contained in v0.1 and tip

renamed freeall() to a more readable freelist()

Changeset 0f27e487277b

Parent 4d1497c70d20

by Rup Palchowdhury

Changes to 2 files · Browse files at 0f27e487277b Showing diff from parent 4d1497c70d20 Diff from another changeset...

Change 1 of 1 Show Entire File klist.c Stacked
 
65
66
67
68
 
69
70
71
 
65
66
67
 
68
69
70
71
@@ -65,7 +65,7 @@
  return NULL;  }   -void freeall(Node *p, void (*freedata)(void*)) +void freelist(Node *p, void (*freedata)(void*))  {   Node *next;   for (; p != NULL; p = next) {
Change 1 of 1 Show Entire File klist.h Stacked
 
14
15
16
17
 
18
 
14
15
16
 
17
18
@@ -14,5 +14,5 @@
 Node *delnode(Node*, Node*,   int (*nodecmp)(void*, void*),   void (*freedata)(void*)); -void freeall(Node*, void (*freedata)(void*)); +void freelist(Node*, void (*freedata)(void*));  void inccounter(void*, void*);