From: Brian Paul Date: Tue, 18 Oct 2005 15:02:45 +0000 (+0000) Subject: move _mesa_exec_malloc/free() up near other malloc/free prototypes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d99c37bca6c53535e748804b15ab5b614aa0da48;p=mesa.git move _mesa_exec_malloc/free() up near other malloc/free prototypes --- diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 24849330254..afc292cf51e 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.2 + * Version: 6.5 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -608,6 +608,12 @@ _mesa_align_calloc( size_t bytes, unsigned long alignment ); extern void _mesa_align_free( void *ptr ); +extern void * +_mesa_exec_malloc( GLuint size ); + +extern void +_mesa_exec_free( void *addr ); + extern void * _mesa_realloc( void *oldBuffer, size_t oldSize, size_t newSize ); @@ -723,15 +729,6 @@ _mesa_exit( int status ); extern void _mesa_init_default_imports( __GLimports *imports, void *driverCtx ); -/* Allocate executable memory for codegen: - */ -extern void * -_mesa_exec_malloc( GLuint size ); - -extern void -_mesa_exec_free( void *addr ); - - #ifdef __cplusplus }