HASH_TABLE *prog_completes = (HASH_TABLE *)NULL;
+static void free_progcomp __P((PTR_T));
+
static int progcomp_initialized = 0;
COMPSPEC *
static void
free_progcomp (data)
- char *data;
+ PTR_T data;
{
COMPSPEC *cs;
if (prog_completes == 0)
return ((COMPSPEC *)NULL);
- item = find_hash_item ((char *)cmd, prog_completes); /* XXX fix const later */
+ item = find_hash_item (cmd, prog_completes);
if (item == NULL)
return ((COMPSPEC *)NULL);
void
print_all_compspecs (pfunc)
- VFunction *pfunc;
+ sh_csprint_func_t *pfunc;
{
BUCKET_CONTENTS *item_list;
int bucket;