| 660 | |
| 661 | |
| 662 | static acolorhash_table |
| 663 | pam_allocacolorhash( ) |
| 664 | { |
| 665 | acolorhash_table acht; |
| 666 | int i; |
| 667 | |
| 668 | acht = (acolorhash_table) malloc( HASH_SIZE * sizeof(acolorhist_list) ); |
| 669 | if ( acht == 0 ) { |
| 670 | fprintf( stderr, " out of memory allocating hash table\n" ); |
| 671 | exit(8); |
| 672 | } |
| 673 | |
| 674 | for ( i = 0; i < HASH_SIZE; ++i ) |
| 675 | acht[i] = (acolorhist_list) 0; |
| 676 | |
| 677 | return acht; |
| 678 | } |
| 679 | |
| 680 | |
| 681 |
no outgoing calls
no test coverage detected