[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] including stdlib in source files

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-03-16 17:36:26 CET

H. Hernan Moraldo wrote:
> Log message:
>
> Include stdlib.h on files that were including this indirectly, through
> svn_types.h.
>
> * subversion/svnadmin/main.c
> * subversion/svnlook/main.c
> * subversion/clients/cmdline/main.c
> * subversion/tests/libsvn_subr/target-test.c
> * subversion/svndumpfilter/main.c
> * subversion/svnserve/main.c
> * subversion/svnversion/main.c
> stdlib.h is now directly #included on these
> files.

This patch is incomplete. Those are only a few of the files that should include <stdlib.h> directly. There are many more. Remove "#include <stdlib.h>" from svn_types.h and then look for warnings like this:

/home/julianfoad/src/subversion/subversion/libsvn_delta/path_driver.c:158: warning: implicit declaration of function `qsort'

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 16 17:35:22 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.