瀏覽代碼

zink: squashme: trade cplusplus wrapper for header-guard

Acked-by: Jordan Justen <jordan.l.justen@intel.com>
tags/19.3-branchpoint
Erik Faye-Lund 6 年之前
父節點
當前提交
35c0ef8852
共有 1 個檔案被更改,包括 2 行新增5 行删除
  1. 2
    5
      src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.h

+ 2
- 5
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.h 查看文件

@@ -21,9 +21,8 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#ifdef __cplusplus
extern "C" {
#endif
#ifndef NIR_TO_SPIRV_H
#define NIR_TO_SPIRV_H

#include <stdlib.h>
#include <stdint.h>
@@ -42,6 +41,4 @@ nir_to_spirv(struct nir_shader *s);
void
spirv_shader_delete(struct spirv_shader *s);

#ifdef __cplusplus
}
#endif

Loading…
取消
儲存