home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright (C) 1986 Alan Kent
- *
- * Permission is granted to freely distribute part or
- * all of this code as long as it is not for profit
- * and this message is retained in the code.
- *
- * No resposibility is taken for any damage or incorect
- * results this program generates.
- *
- */
-
-
- #include <stdio.h>
- #include "graph.h"
-
-
- num_cols ( table )
- table_st *table;
- {
- int count;
- table_st *p;
-
- count = 0;
- for ( p = table; p != NULL; p = p->next )
- count++;
- return ( count );
- }
-
-