delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/20/14:15:50

Message-Id: <200006201814.VAA17264@alpha.netvision.net.il>
Date: Tue, 20 Jun 2000 21:17:00 +0200
X-Mailer: Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: djgpp-workers AT delorie DOT com
In-reply-to: <200006191758.NAA02002@delorie.com> (cvs@delorie.com)
Subject: Re: djgpp: djgpp/include/dos.h
References: <200006191758 DOT NAA02002 AT delorie DOT com>
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>

- Raw text -


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