↩ revert:

This commit is contained in:
lzy
2024-05-27 02:33:10 +08:00
parent 2336f88407
commit a277dec1fe
136 changed files with 606 additions and 606 deletions

View File

@@ -6,7 +6,7 @@
typedef struct node_st
{
int data;
struct node_st* next;
struct node_st *next;
} list;
// try something
@@ -32,7 +32,7 @@ list *jose_create(int a[], int n)
}
#endif
list* jose_create(int n)
list *jose_create(int n)
{
list *me, *newnode, *cur;
int i = 1;
@@ -61,9 +61,9 @@ list* jose_create(int n)
return me;
}
void jose_show(list* me)
void jose_show(list *me)
{
list* list;
list *list;
for (list = me; list->next != me; list = list->next)
{
@@ -74,7 +74,7 @@ void jose_show(list* me)
printf("%d\n", list->data);
}
void jose_kill(list** me, int n)
void jose_kill(list **me, int n)
{
list *cur = *me, *node;
int i = 1;
@@ -103,7 +103,7 @@ void jose_kill(list** me, int n)
int main( )
{
list* list;
list *list;
list = jose_create(JOSE_NUM);