File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ struct Person *ChangePerson(struct Person *contacts);
3636Not Found -> NULL
3737Success -> struct Person*
3838*/
39- struct Person * DeletePerson (struct Person * * contacts );
39+ struct Person * RemovePerson (struct Person * * contacts );
4040
4141/*
4242Not Found -> NULL
@@ -98,7 +98,7 @@ int main()
9898 }
9999 case 4 : {
100100 printf ("Please input the name:\n" );
101- struct Person * person = DeletePerson (& contacts );
101+ struct Person * person = RemovePerson (& contacts );
102102 if (person == NOT_FOUND )
103103 {
104104 printf ("The person is not found\n" );
@@ -206,7 +206,7 @@ struct Person *ChangePerson(struct Person *contacts)
206206 }
207207}
208208
209- struct Person * DeletePerson (struct Person * * contacts )
209+ struct Person * RemovePerson (struct Person * * contacts )
210210{
211211 struct Person * person = FindPerson (* contacts );
212212
You can’t perform that action at this time.
0 commit comments