Format the C code in Clang-Format Style: Microsoft

This commit is contained in:
krahets
2023-04-17 21:13:15 +08:00
parent 1d6b7a5644
commit 9a98ff8a5e
46 changed files with 215 additions and 216 deletions

View File

@ -22,7 +22,7 @@ typedef struct ListNode ListNode;
/* 构造函数,初始化一个新节点 */
ListNode *newListNode(int val) {
ListNode *node, *next;
node = (ListNode *) malloc(sizeof(ListNode));
node = (ListNode *)malloc(sizeof(ListNode));
node->val = val;
node->next = NULL;
return node;