Skip to Content.
Sympa Menu

freetds - RE: [ freetds-Patches-600965 ] Real prototypes in t ds.h

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: [ freetds-Patches-600965 ] Real prototypes in t ds.h
  • Date: Tue, 27 Aug 2002 16:54:45 -0400 (EDT)


On Tue, 27 Aug 2002, Castellano, Nicholas wrote:

> You can't be quite that direct, since you want to be sure you don't change
> real extern variable declarations or 'extern "C" {' blocks. But in general,
> yes, I'd like to see all of our extern function declarations changed to
> prototypes. (We may want to be more careful with the "public" header files,
> if we care about supporting old non-ANSI C compilers. Does anyone care?)

I think we have to draw the line somewhere. If they got freetds compiled,
obviously they have an ansi compiler. If not they can run ansi2knr, i
don't think that's too much to ask.

> I figured I'd start with one header and see if that met with approval before
> submitting patches for the others. Let me know if I should continue or if
> you want to do it yourself.
>
> --nick
>
> -----Original Message-----
> From: bounce-freetds-145195 AT franklin.oit.unc.edu
> [mailto:bounce-freetds-145195 AT franklin.oit.unc.edu]
> Sent: Tuesday, August 27, 2002 4:17 PM
> To: TDS Development Group
> Subject: [freetds] RE: [ freetds-Patches-600965 ] Real prototypes in tds.h
>
>
> > From: noreply AT sourceforge.net [mailto:noreply AT sourceforge.net]
> > Sent: August 27, 2002 4:09 PM
> >
> > intead of the strange mixture of prototypes and extern
> >
> > declarations currently in place.
>
> Should we just
>
> s/^extern //
>
> thoughout? I found similar in sybdb.h.
>
> --jkl
>
>





Archive powered by MHonArc 2.6.24.

Top of Page