瀏覽代碼

Remove static from _caca_alloc2d

pull/87/head
rhythmcache GitHub 2 月之前
父節點
當前提交
7ff3e46819
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/common-image.c

+ 1
- 1
src/common-image.c 查看文件

@@ -30,7 +30,7 @@ static unsigned int u32fread(caca_file_t *);
static unsigned int u16fread(caca_file_t *); static unsigned int u16fread(caca_file_t *);
static unsigned int u8fread(caca_file_t *); static unsigned int u8fread(caca_file_t *);


static void *_caca_alloc2d(size_t width, size_t height, size_t elem_size)
void *_caca_alloc2d(size_t width, size_t height, size_t elem_size)
{ {
if (width == 0 || height == 0 || elem_size == 0 || SIZE_MAX / width / height < elem_size) if (width == 0 || height == 0 || elem_size == 0 || SIZE_MAX / width / height < elem_size)
return NULL; return NULL;


Loading…
取消
儲存