Changeset 95c675b in mainline for uspace/lib/c/include/fourcc.h


Ignore:
Timestamp:
2017-10-17T13:11:35Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60af4cdb
Parents:
dbf32b1 (diff), a416d070 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/fourcc.h

    rdbf32b1 r95c675b  
    11/*
    2  * Copyright (c) 2006 Ondrej Palkovsky
     2 * Copyright (c) 2017 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    3333 */
    3434
    35 #ifndef LIBC_ERR_H_
    36 #define LIBC_ERR_H_
     35#ifndef LIBC_FOURCC_H_
     36#define LIBC_FOURCC_H_
    3737
    38 #include <stdio.h>
     38#include <stdint.h>
    3939
    40 #define errx(status, fmt, ...) \
    41         do { \
    42                 printf((fmt), ##__VA_ARGS__); \
    43                 exit(status); \
    44         } while (0)
     40typedef uint32_t fourcc_t;
    4541
    4642#endif
Note: See TracChangeset for help on using the changeset viewer.