소스 검색

Remove static from _caca_alloc2d

pull/87/head
rhythmcache GitHub 2 달 전
부모
커밋
7ff3e46819
No known key found for this signature in database GPG 키 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 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)
return NULL;


불러오는 중...
취소
저장