Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!uw-june!uw-entropy!hubert From: hubert@uw-entropy.ms.washington.edu (Steve Hubert) Newsgroups: comp.sys.next Subject: nlist initialization? Message-ID: <1499@uw-entropy.ms.washington.edu> Date: 5 Jun 89 23:55:22 GMT Reply-To: hubert@cac.washington.edu (Steve Hubert) Distribution: usa Organization: UW Networks and Distributed Computing, Seattle Lines: 21 Can anyone tell me how to do what I am obviously attempting to do below on the next? These few lines are from sendmail 5.61. I presume that the Mach nlist format is preventing this from working. The error I get (twice) is "type mismatch in initialization," with a line number pointing to the closing brace of the initialization. I tried it with the -bsd flag and it doesn't change. #include struct nlist Nl[] = { { "_avenrun" }, #define X_AVENRUN 0 { 0 }, }; Steve Hubert Networks and Distributed Computing, Univ. of Wash. hubert@cac.washington.edu