home *** CD-ROM | disk | FTP | other *** search
- /*=============================================================================
-
- The INSTALL program source code, object code, sample script files,
- executable program, and documentation are subject to copyright
- protection under the laws of the United States and other countries.
-
- This software is licensed, not sold, and may only be redistributed
- in executable format and only in accordance with the provisions of
- the INSTALL Source Code License Agreement.
-
- INSTALL is Copyright(C) 1987-1989 by Knowledge Dynamics Corp
- Highway Contract 4 Box 185-H, Canyon Lake, TX (USA) 78133-3508
- 512-964-3994 (Voice) 512-964-3958 (24-hr FAX)
-
- All rights reserved worldwide.
-
- ===============================================================================
-
- FILENAME:
- validate.c
-
- AUTHOR:
- eric jon heflin
-
- PUBLIC FUNCTIONS:
- validate() - test compile-time conditions
-
- LOCAL FUNCTIONS:
- none
-
- DESCRIPTION:
- The function test() has a rather unique purpose: to verify that some
- critical compiler conditions were properly implemented when compiling
- the INSTALL sources. This testing is particularly important since
- the INSTALL source code is frequently recompiled.
-
- Specifically, INSTALL has four requirements regarding structure allocation:
- 1) structures are byte aligned, 2) the first named element of a
- given structure is assigned a lower address than the second named
- element, and 3) bitfields are implemented as binary digits of a word,
- 4) bitfields are allocated with the first named element assigned to the
- zero bit of the word. If any of these conditions are not satisfied,
- INSTALL will not execute properly and it would probably be very difficult
- to discover the alignment problem. Thus this validation function.
-
- Note: Under DOS, structure assignment and alignment is not a requirement,
- only under some non-DOS operating systems. Thus, the validation function
- is always successful under DOS.
-
- REVISION HISTORY:
- DATE: AUTHOR: DESCRIPTION OF CHANGES:
- 900131 eric jon heflin Initial version.
-
- ==============================================================================*/
-
- #include "install.h"
-
- void validate(void)
- { /* validate */
- return;
- } /* validate */
-
-
- /* end-of-file */
-