From owner-freebsd-bugs Mon Apr 14 13:10:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA10732 for bugs-outgoing; Mon, 14 Apr 1997 13:10:08 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA10716; Mon, 14 Apr 1997 13:10:04 -0700 (PDT) Date: Mon, 14 Apr 1997 13:10:04 -0700 (PDT) Message-Id: <199704142010.NAA10716@freefall.freebsd.org> To: freebsd-bugs Cc: From: Dmitrij Tejblum Subject: Re: misc/3291: md2.h, md4.h, and md5.h headers useless for c++ programms Reply-To: Dmitrij Tejblum Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR misc/3291; it has been noted by GNATS. From: Dmitrij Tejblum 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 > >+ > >+ __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 , for example. Should I submit another patch? > Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. Dima