From 544fa259287a2b919d8ed05bc201a5133032ef05 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 16 Jan 2007 08:36:42 +0000 Subject: Rename e{malloc,realloc,free} to u{malloc,realloc,free}, to more obviously reflect the fact that they allocate and deallocate user memory (i.e. things reached through a userptr_t). --- src/include/gpxe/emalloc.h | 17 ----------------- src/include/gpxe/umalloc.h | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 src/include/gpxe/emalloc.h create mode 100644 src/include/gpxe/umalloc.h (limited to 'src/include') diff --git a/src/include/gpxe/emalloc.h b/src/include/gpxe/emalloc.h deleted file mode 100644 index cee220dc8..000000000 --- a/src/include/gpxe/emalloc.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef _GPXE_EMALLOC_H -#define _GPXE_EMALLOC_H - -/** - * @file - * - * External memory allocation - * - */ - -#include - -extern userptr_t emalloc ( size_t size ); -extern userptr_t erealloc ( userptr_t ptr, size_t new_size ); -extern void efree ( userptr_t ptr ); - -#endif /* _GPXE_EMALLOC_H */ diff --git a/src/include/gpxe/umalloc.h b/src/include/gpxe/umalloc.h new file mode 100644 index 000000000..49ec22b47 --- /dev/null +++ b/src/include/gpxe/umalloc.h @@ -0,0 +1,17 @@ +#ifndef _GPXE_UMALLOC_H +#define _GPXE_UMALLOC_H + +/** + * @file + * + * User memory allocation + * + */ + +#include + +extern userptr_t umalloc ( size_t size ); +extern userptr_t urealloc ( userptr_t ptr, size_t new_size ); +extern void ufree ( userptr_t ptr ); + +#endif /* _GPXE_UMALLOC_H */ -- cgit v1.2.3-55-g7522