[comp.sys.mips] grp.h problem

bin@primate.wisc.edu (Brain in Neutral) (03/22/90)

% cc -systype sysv -O  -DSYSV -c main.c
ccom: Warning: main.c, line 127: illegal combination of pointer and integer, op =
      		if((g = getgrgid (getgid ())) != 	0)
      --------------------------------------^

This does not occur with -systype bsd.  A quick check of /usr/include/grp.h
and /usr/include/bsd43/grp.h shows that the bsd version has declarations
for getgrgid(), etc., while the sysv version does not.

Should it?

Paul DuBois
Internet:	dubois@primate.wisc.edu
UUCP:		rhesus!dubois
FAX:		608/263-4031