Article View: comp.std.c
Article #5528Re: Lint libraries for dpANS C and POSIX?
From: Stephen J. Friedl
Date: Sat, 07 Jan 1989 23:44
Date: Sat, 07 Jan 1989 23:44
27 lines
1319 bytes
1319 bytes
/rich $alz posted a complete lint library for ANSI C, but
maybe now is the time for an extension for lint. Rather than
the standard lint function template format such as:
char *strcpy(s1, s2) char *s1; const char *s2; { return 0; }
why not permit the prototype form? Then, the lint library
would be something like:
/* llib-lc.c */
/*LINTPROTOLIBRARY*/ /* <---- I made this up */
#include <stdio.h>
#include <stddef.h>
#include ....
Continue to support the old method, but this would make it
*much* easier to maintain lint libraries because they don't
have to be manually diddled with.
Comments?
Steve
--
Stephen J. Friedl 3B2-kind-of-guy friedl@vsi.com
V-Systems, Inc. I speak for me only attmail!vsi!friedl
Santa Ana, CA USA +1 714 545 6442 {backbones}!vsi!friedl
-------Nancy Reagan on Usenix in San Diego: "Just say *go*"-------
Technical Details
Message-ID:
<999@vsi.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!vsi!friedlReferences:
<1321@fig.bbn.com> <1325@fig.bbn.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!vsi!friedl From: friedl@vsi.COM (Stephen J. Friedl) Newsgroups: comp.std.c,comp.lang.c Subject: Re: Lint libraries for dpANS C and POSIX? Summary: How about an alternate method for lint libraries? Message-ID: <999@vsi.COM> Date: 7 Jan 89 23:44:28 GMT References: <1321@fig.bbn.com> <1325@fig.bbn.com> Organization: V-Systems, Inc. -- Santa Ana, CA Lines: 27