home *** CD-ROM | disk | FTP | other *** search
- /*
- fncntry.c gam 5/31/89
-
- % declaration of the ocountry_struct
-
- C-scape 3.1
- Copyright (c) 1989 by Oakland Group, Inc.
- ALL RIGHTS RESERVED.
-
- Revision History:
- -----------------
- 6/06/89 gam Created and hooked into date_funcs, sdouble_funcs,
- double_funcs, yesno_funcs, strcomma, & strdecp.
- 8/15/89 gam Took out #include's of stdio.h and string.h
- */
-
- #include "fncntry.h"
-
- ocountry_struct ocountry = {
- "Yes",
- "No",
- MMDDYY,
- '.',
- ','
- };
-
- /* Routine used to translate one char to another in a string */
-
- char *strtrans(string, letter, replace)
- char *string;
- char letter;
- char replace;
- {
- char *place;
-
- for (place = string; *place; place++) {
- if (*place == letter) {
- *place = replace;
- }
- }
-
- return(string);
- }
-
-