delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/22/02:50:33

From: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>
Message-Id: <200006220650.IAA02504@lws256.lu.erisoft.se>
Subject: Re: djgpp: djgpp/include/dos.h
To: djgpp-workers AT delorie DOT com
Date: Thu, 22 Jun 2000 08:50:15 +0200 (MET DST)
In-Reply-To: <200006201814.VAA17264@alpha.netvision.net.il> from "Eli Zaretskii" at Jun 20, 2000 09:17:00 PM
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 
> > + int _get_fat_size(const int drive);
> > + int _get_fs_type(const int drive, char *const result_str);
> 
> Isn't it better to omit parameter names from the prototypes, or at
> least give them names that begin with underscores?
> 
> I think these prototypes will backfire if a program says something
> like this:
> 
>   #define drive float
>   #include <dos.h>

I'll fix it (probably tonight).


Right,

							MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019