Changeset 8973acd in buchla-68k for include/fcntl.h


Ignore:
Timestamp:
07/15/2017 03:12:10 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
ea232f9
Parents:
7d0d347
Message:

No more warnings in libcio.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/fcntl.h

    r7d0d347 r8973acd  
    1515*/
    1616
    17 #define O_RDONLY        0x0000  /* Read-only value  */
    18 #define O_WRONLY        0x0001  /* Write-only value */
    19 #define O_RDWR          0x0002  /* Read-write value */
     17#define O_RDONLY        0x0000u /* Read-only value  */
     18#define O_WRONLY        0x0001u /* Write-only value */
     19#define O_RDWR          0x0002u /* Read-write value */
    2020
    21 #define O_NDELAY        0x0004  /* Non-blocking I/O flag */
    22 #define O_APPEND        0x0008  /* Append mode flag (write only at end) */
     21#define O_NDELAY        0x0004u /* Non-blocking I/O flag */
     22#define O_APPEND        0x0008u /* Append mode flag (write only at end) */
    2323
    24 #define O_CREAT         0x0100  /* File creation flag (uses 3rd argument) */
    25 #define O_TRUNC         0x0200  /* File truncation flag */
    26 #define O_EXCL          0x0400  /* Exclusive access flag */
     24#define O_CREAT         0x0100u /* File creation flag (uses 3rd argument) */
     25#define O_TRUNC         0x0200u /* File truncation flag */
     26#define O_EXCL          0x0400u /* Exclusive access flag */
    2727
    28 #define O_RAW           0x8000  /* Raw (binary) I/O flag for getc and putc */
     28#define O_RAW           0x8000u /* Raw (binary) I/O flag for getc and putc */
    2929
    3030/*
Note: See TracChangeset for help on using the changeset viewer.