Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site ccice2.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!rochester!ritcv!ccice5!ccice2!rrw
From: rrw@ccice2.UUCP (Rick Wessman)
Newsgroups: net.lang.c,net.unix
Subject: Arrays containing pointers to void functions
Message-ID: <492@ccice2.UUCP>
Date: Wed, 17-Oct-84 09:56:32 EDT
Article-I.D.: ccice2.492
Posted: Wed Oct 17 09:56:32 1984
Date-Received: Thu, 18-Oct-84 19:12:12 EDT
Distribution: net
Organization: CCI Central Engineering, Rochester, NY
Lines: 30

I am in the process of linting 9 (!) operating systems, and I keep
on running into the following:

Given the following declarations:

void func1();
void func2();
void func3();
void func4();

void (*functions[])()=
	{
	func1,
	func2,
	func3,
	func4
	}

Lint (4.2BSD) gives me messages saying that the types are incompatible
and that the initialization is illegal. 

Since the type of the functions and the array are identical, there
is no error. Is there a fix that I can make to lint to get it to shut
up? I could live with it, but it would be nicer to have it go away.

Any help would be appreciated.


			       Thanks,
				  Rick