cweir@richsun.UUCP (Charles Weir) (11/07/89)
Does anyone have a set of lint libraries for the X and Xt toolkits?
They take the form...
/LINTLIBRARY*/
int accept(s, a, l) struct sockaddr *a; int *l; { return s; }
int access( p, m) char *p; { return 0; }
int acct(f) char *f; { return 0;}
... etc.
Without these libraries, running lint on X programs will not find functions
called with invalid parameters - as I expect you know.
I'm referring to the Sun lint libraries in particular - I'm not too familiar
with lint on other systems.
I'll post if someone tells of a publicly accessible one.
Charles
--
Charles Weir, Rich Inc, Franklin Park, IL 60131
Email: cweir@richsun.uucp uunet!richsun!cweirrws@EXPO.LCS.MIT.EDU (Bob Scheifler) (11/07/89)
Does anyone have a set of lint libraries for the X and Xt toolkits? Try "make install.ln" in an X11R3 distribution sometime ...
klee@chico.pa.dec.com (Ken Lee) (11/07/89)
In article <632@richsun.UUCP>, cweir@richsun.UUCP (Charles Weir) writes: > Does anyone have a set of lint libraries for the X and Xt toolkits? The X11R3 Xlib and Xt Makefiles have a target "lintlib" for creating lint libraries. Is this what you're looking for? Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@decwrl.dec.com uucp: uunet!decwrl!klee