/************************************************************************
 * Copyright (C) 1998-1999 Micro Focus International Ltd All rights reserved.
 *  
 * This demonstration program is provided for use by users of 
 * Micro Focus products (the "Software") and may be used, 
 * modified and distributed as part of your application provided 
 * that you properly acknowledge the copyright of Micro Focus in this
 * material.
 *     
 * All conditions, warranties and undertakings, express or implied, 
 * statutory or otherwise, on the part of Micro Focus are excluded, 
 * including without limitation those of merchantability or fitness  
 * for purpose. This shall not, however, purport to exclude or 
 * restrict the liability of Micro Focus to any extent not 
 * permitted by law.
 *
 * IN NO EVENT WILL MICRO FOCUS BE LIABLE FOR ANY INDIRECT, 
 * INCIDENTAL, SPECIAL, CONSEQUENTIAL OR OTHER DAMAGES ARISING OUT 
 * OF THE USE OF THE DEMONSTRATION PROGRAM DISTRIBUTED WITH THE 
 * SOFTWARE, WHETHER OR NOT INFORMED OF THE POSSIBILITIES OF 
 * DAMAGES IN ADVANCE.  THESE LIMITATIONS APPLY TO ALL CAUSES OF 
 * ACTION, INCLUDING BREACH OF CONTRACT, BREACH OF WARRANTY, STRICT
 * LIABILITY, AND ANY ACTIONS IN TORTS.
 ************************************************************************/
/*
      *
      * @(#)csub.c	1.0

      ************************************************************
      * 							 *
      * 		    CSUB.C				 *
      * 							 *
      * 							 *
      * This program is used in conjunction with cobmain.cbl to	 *
      * demonstrate the mixed language debugging facilities.	 *
      * 							 *
      ************************************************************
*/

#include <string.h>

csub1(a, b)
int *a;
char *b;
{
    *a *= 10;
    strcpy(b, "csub1 ");
} 	   

csub2(a, b)
int *a;
char *b;
{
    *a *= 2;
    strcpy(b, "csub2 ");
} 	   

csub3(a, b)
int *a;
char *b;
{
    *a *= 5;
    strcpy(b, "csub3 ");
} 	   
