On Monday 24 June 2013 07:56:35 [email protected] wrote:
> > > +/* declared in tst_tmpdir.c */
> > > +const char *tst_get_startwd(void);
> > 
> > use a proper header instead.  extern func decls only leads to bit rot and
> > hard to debug crashes.
> 
> This is internal only API for the LTP lib that does not have a proper
> header (I was too lazy to create a header for the function that is used
> only once). I can fix that if desired.

if it's meant as an internal-to-the-lib func, then we should start a header to 
hold that kind of code.  we can easily enforce it too by having the lib 
Makefile define some macro that the header will check and error out if it isn't 
present.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to