浏览代码

translate: squash warnings

tags/mesa_20090313
Keith Whitwell 17 年前
父节点
当前提交
546ab045d8

+ 2
- 1
src/gallium/auxiliary/translate/translate_cache.c 查看文件

#include "pipe/p_util.h" #include "pipe/p_util.h"
#include "pipe/p_state.h" #include "pipe/p_state.h"
#include "translate.h" #include "translate.h"
#include "translate_cache.h"


#include "cso_cache/cso_cache.h" #include "cso_cache/cso_cache.h"
#include "cso_cache/cso_hash.h" #include "cso_cache/cso_hash.h"
struct cso_hash *hash; struct cso_hash *hash;
}; };


struct translate_cache * translate_cache_create()
struct translate_cache * translate_cache_create( void )
{ {
struct translate_cache *cache = MALLOC_STRUCT(translate_cache); struct translate_cache *cache = MALLOC_STRUCT(translate_cache);
cache->hash = cso_hash_create(); cache->hash = cso_hash_create();

+ 1
- 1
src/gallium/auxiliary/translate/translate_cache.h 查看文件

struct translate_key; struct translate_key;
struct translate; struct translate;


struct translate_cache *translate_cache_create();
struct translate_cache *translate_cache_create( void );
void translate_cache_destroy(struct translate_cache *cache); void translate_cache_destroy(struct translate_cache *cache);


/** /**

正在加载...
取消
保存