Date: Mon, 14 Apr 1997 13:10:04 -0700 (PDT) From: Dmitrij Tejblum <tejblum@arc.hq.cti.ru> To: freebsd-bugs Subject: Re: misc/3291: md2.h, md4.h, and md5.h headers useless for c++ programms Message-ID: <199704142010.NAA10716@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/3291; it has been noted by GNATS. From: Dmitrij Tejblum <tejblum@arc.hq.cti.ru> To: phk@dk.tfs.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: misc/3291: md2.h, md4.h, and md5.h headers useless for c++ programms Date: Tue, 15 Apr 1997 00:07:56 +0400 (MSD) On Mon, 14 Apr 1997 phk@dk.tfs.com wrote: > >--- lib/libmd/md2.h Mon Apr 14 22:05:04 1997 > >*************** > >*** 30,40 **** > >--- 30,44 ---- > > unsigned char buffer[16]; /* input buffer */ > > } MD2_CTX; > > > >+ #include <sys/cdefs.h> > >+ > >+ __BEGIN_DECLS > > void MD2Init(MD2_CTX *); > > I can agree to the __BEGIN_DECLS, but the #includes do >NOT< belong here. Why? Take a look at <stdlib.h>, for example. Should I submit another patch? > Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. Dima
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704142010.NAA10716>