From 702a39f38d4ac7feefbdc753d629b69d050bc671 Mon Sep 17 00:00:00 2001 From: solar Date: Mon, 30 Jan 2006 18:33:59 +0000 Subject: [PATCH] Moved internal struct definitions to _PDCLIB_int.h where they belong. --- internals/_PDCLIB_aux.h | 16 +++++----------- internals/_PDCLIB_int.h | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 11 deletions(-) diff --git a/internals/_PDCLIB_aux.h b/internals/_PDCLIB_aux.h index a4e7a62..aa5c128 100644 --- a/internals/_PDCLIB_aux.h +++ b/internals/_PDCLIB_aux.h @@ -8,6 +8,11 @@ Permission is granted to use, modify, and / or redistribute at will. */ +/* -------------------------------------------------------------------------- */ +/* You should not have to edit anything in this file; if you DO have to, it */ +/* would be considered a bug / missing feature: notify the author(s). */ +/* -------------------------------------------------------------------------- */ + /* -------------------------------------------------------------------------- */ /* Standard Version */ /* -------------------------------------------------------------------------- */ @@ -60,14 +65,3 @@ #define _PDCLIB_symbol2value( x ) #x #define _PDCLIB_symbol2string( x ) _PDCLIB_symbol2value( x ) #define _PDCLIB_symbol2identity( x ) x - -/* -------------------------------------------------------------------------- */ -/* Internal data types */ -/* -------------------------------------------------------------------------- */ - -/* Structure required by both atexit() and exit() for handling atexit functions */ -struct _PDCLIB_exitfunc_t -{ - struct _PDCLIB_exitfunc_t * next; - void (*func)( void ); -}; diff --git a/internals/_PDCLIB_int.h b/internals/_PDCLIB_int.h index 8f2cf74..ba5ab61 100644 --- a/internals/_PDCLIB_int.h +++ b/internals/_PDCLIB_int.h @@ -265,3 +265,27 @@ _PDCLIB_uintmax_t _PDCLIB_strtox_main( const char ** p, int base, _PDCLIB_uintma /* Digits array used by various integer conversion functions in */ extern char _PDCLIB_digits[]; + +/* -------------------------------------------------------------------------- */ +/* Internal data types */ +/* -------------------------------------------------------------------------- */ + +/* Structure required by both atexit() and exit() for handling atexit functions */ +struct _PDCLIB_exitfunc_t +{ + struct _PDCLIB_exitfunc_t * next; + void (*func)( void ); +}; + +/* Structures required by malloc(), realloc(), and free(). */ +struct _PDCLIB_headnode_t +{ + struct _PDCLIB_memnode_t * first; + struct _PDCLIB_memnode_t * last; +}; + +struct _PDCLIB_memnode_t +{ + struct _PDCLIB_memnode_t * next; + _PDCLIB_size_t size; +}; -- 2.40.0