/***********************************************
 (C) Copyright 1992-1993; dit/upm
   Distributed under the conditions stated in the
   EPS General Public License (see file LICENSE)
 ***********************************************
 $Log: asttest.c,v $
 * Revision 2.3  1993/01/12  16:34:04  eps
 * portability issues
 *
 * Revision 2.2  1992/01/14  15:42:45  eps
 * distribution issues
 *
 * Revision 2.1  90/10/30  08:32:13  eps
 * hardwired colours added
 * new colours I2, IAT, AT
 * ! is no longer used as colour delimiter
 * still some bugs are known w.r.t. colour deallocation
 * 
 * Revision 1.3  90/03/16  15:41:21  eps
 * minor beautifying
 * 
 * Revision 1.2  90/01/29  14:51:32  eps
 * fixing license details
 * 
 * Revision 1.1  90/01/25  17:59:12  eps
 * Initial revision
 * 
 **********************************************/

#ifndef lint
static char rcsid[]= "$Id: asttest.c,v 2.3 1993/01/12 16:34:04 eps Exp $";
#endif

/***********************************************************************
        Tomas P. de Miguel Moro
	Jose A. Manas
        dpt. Ingenieria Telematica
        E.T.S.I. Telecomunicacion
        Ciudad Universitaria
        E-28040  MADRID

        tmiguel@dit.upm.es
        jmanas@dit.upm.es
 **********************************************************************/

/* LINTLIBRARY */

# define cast_IMP
# include "cast.hh"

# include <stdio.h>

PUBLIC int
t_fbrother (nodep)
        TNODE*  nodep;
{
  if (nodep == NULL)
    return FALSE;
  if (nodep->father == NULL) return TRUE;
  return nodep->father->sons == nodep;

} /* end of t_fbrother */
