mkproto still reading ubiqx.

Christopher R. Hertel crh at NTS.Umn.EDU
Thu Apr 9 01:43:12 GMT 1998


There was some discussion a while back about finding ways to prevent
mkproto from reading the ubiqx files.  This is necessary, as the headers
*already* have prototypes in them and running mkproto generates duplicate
prototypes in proto.h. ...and thus errors.

The command in the Makefile is (reformatted to fit):

        (AWK) -f mkproto.awk `echo $(PROTOOBJ)	\
      | sed -e 's/\.o/\.c/g' | tr ' ' '\n' 	\
      | sort | uniq` > proto.h

I could change this to:

        (AWK) -f mkproto.awk `echo $(PROTOOBJ)	\
      | sed -e 's/\.o/\.c/g' | tr ' ' '\n' 	\
      | sort | fgrep -v "ubiqx" | uniq` > proto.h

Does this meet with approval?

Chris -)-----

-- 
Christopher R. Hertel -)-----                   University of Minnesota
crh at nts.umn.edu              Networking and Telecommunications Services


More information about the samba-technical mailing list