瀏覽代碼

build: fix minor build issues with Clang.

master
Sam Hocevar 12 年之前
父節點
當前提交
de5f587e43
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      neercs/old/ansi.c

+ 2
- 2
neercs/old/ansi.c 查看文件

@@ -121,7 +121,7 @@ static void ansi_parse_grcm(struct screen *,
inline int handle_single_char(unsigned char c, int *x, int *y,
struct screen_list *screen_list,
struct screen *sc);
inline int handle_duplet(unsigned char const *buffer, struct screen *sc,
static inline int handle_duplet(unsigned char const *buffer, struct screen *sc,
unsigned int *skip, int top, int bottom, int width,
int height);

@@ -184,7 +184,7 @@ inline int handle_single_char(unsigned char c, int *x, int *y,
return 0;
}

inline int handle_duplet(unsigned char const *buffer, struct screen *sc,
static inline int handle_duplet(unsigned char const *buffer, struct screen *sc,
unsigned int *skip, int top, int bottom, int width,
int height)
{


Loading…
取消
儲存