1  typedef __SIZE_TYPE__ size_t;
       2  /* Kludge */
       3  #define unsigned
       4  typedef __SIZE_TYPE__ __ssize_t;
       5  #undef unsigned
       6  typedef struct
       7  {
       8  } __mbstate_t;
       9  typedef struct
      10  {
      11  } _G_fpos64_t;
      12  enum
      13  {
      14    __GCONV_INTERNAL_ERROR
      15  };
      16  typedef int (*__gconv_trans_fct) (struct __gconv_step *,
      17        size_t *);
      18  typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
      19         unsigned char *, unsigned char *);
      20  struct __gconv_trans_data
      21  {
      22  };
      23  struct _IO_marker {
      24  };
      25  typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
      26       size_t __n);
      27  typedef struct blockbox {
      28  } *BBOXPTR, BBOX ;
      29  typedef struct netbox {
      30  } *NBOXPTR, NBOX ;
      31  typedef struct termbox {
      32      struct termbox *nextterm ;
      33  } *TEBOXPTR, TEBOX ;
      34  typedef struct tilebox {
      35      TEBOXPTR termsptr ;
      36  }
      37  *TIBOXPTR ,
      38  TIBOX ;
      39  typedef struct cellbox {
      40      TIBOXPTR tileptr ;
      41  }
      42  *CBOXPTR ,
      43  CBOX ;
      44  typedef struct dimbox {
      45  }
      46  DBOX ;
      47  typedef struct rowbox {
      48  } ROWBOX ;
      49  typedef struct binbox {
      50  }
      51  CHANGRDBOX ;
      52  extern int numcells ;
      53  extern int numterms ;
      54  sortpin()
      55  {
      56  int j , n , cell ;
      57  CBOXPTR ptr ;
      58  TIBOXPTR tile ;
      59  TEBOXPTR term , *xpptr ;
      60  for( cell = 1 ; cell <= numcells + numterms ; cell++ ) {
      61      if( ( tile = ptr->tileptr ) == (TIBOXPTR) ((void *)0) ) {
      62      }
      63      n = 0 ;
      64      for( term = tile->termsptr ; term != (TEBOXPTR) ((void *)0) ;
      65        term = term->nextterm ) {
      66   xpptr[ ++n ] = term ;
      67      }
      68      xpptr[ n + 1 ] = (TEBOXPTR) ((void *)0) ;
      69      ptr->tileptr->termsptr = xpptr[ 1 ] ;
      70      for( j = 1 ; j <= n ; j++ ) {
      71      }
      72  }
      73  }
      74