use #pragma once
Summary: #pragma once is widely supported and is a lot harder to get wrong than #ifdef include guards. Reviewed By: lucasr Differential Revision: D3648895 fbshipit-source-id: faf42cda82764adaf41cf3f3f9109d48aea203fe
This commit is contained in:
committed by
Facebook Github Bot 7
parent
9ab97af05d
commit
ac44d2ea6e
@@ -7,8 +7,7 @@
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#ifndef __CSS_NODE_LIST_H
|
||||
#define __CSS_NODE_LIST_H
|
||||
#pragma once
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
@@ -31,5 +30,3 @@ CSSNodeRef CSSNodeListDelete(CSSNodeListRef list, CSSNodeRef node);
|
||||
CSSNodeRef CSSNodeListGet(CSSNodeListRef list, uint32_t index);
|
||||
|
||||
CSS_EXTERN_C_END
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user