delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/01/19/15:07:55

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <199901192007.VAA14039@father.ludd.luth.se>
Subject: Declarations in header files
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Tue, 19 Jan 1999 21:07:29 +0100 (MET)
X-Mailer: ELM [version 2.4ME+ PL15 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

I'm about to release a buch of patches. Is it ok if I for the header
files slips in function declarations for functions not yet there?

Here's a patch for the headers illustrating what I'm talking about.


Right,

							MartinS
diff -ruN include.org/dos.h include/dos.h
--- include.org/dos.h	Mon Sep  7 18:55:40 1998
+++ include/dos.h	Tue Jan 19 21:00:44 1999
@@ -134,6 +134,14 @@
 
 unsigned short _get_dos_version(int);
 
+int _get_fat_size(const int drive);
+int _get_fs_type(const int drive, char *const result_str);
+int _is_cdrom_drive(const int drive);
+int _is_fat32(const int drive);
+int _is_ram_drive(const int drive);
+int _media_type(const int drive);
+
 
 int int86(int ivec, union REGS *in, union REGS *out);
 int int86x(int ivec, union REGS *in, union REGS *out, struct SREGS *seg);

- Raw text -


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