[PATCH] Ansi-C compatibility fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


   This patch makes another round of fixes to improve ansi-C
compatibility, this time using the open-watcom compiler. An effort was
done to make the right changes to code, not just wipe out the errors
or warnings. For example, if prototypes, definition and usage of
functions differ, examined the purpose and uses of the function to
determine the right fix.

   The partial list of fixes includes:

 - Missing prototypes of functions.
 - Assignment of variables without appropriate casting.
 - Inadequate typing of variables.
 - Differences in definition, prototypes and use.
 - Functions defined to return some value but did not return anything.
 - Definition of zero length arrays.

   Code size is unchanged.

 The Image builded without errors. The kernel was tested with QEMU and
dioscuri emulators. Also in a PPro pc booting from floppy.

Greetings,

Juan

Attachment: elksN.patch
Description: Binary data


[Index of Archives]     [Kernel]     [Linux ia64]     [DCCP]     [Linux for ARM]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux