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


Ignore:
Timestamp:
2011-07-12T03:00:14Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6817eba
Parents:
eca52a8 (diff), 026793d (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 changes.

File:
1 moved

Legend:

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

    reca52a8 rf51f193  
    11/*
    2  * Copyright (c) 2009 Jiri Svoboda
    3  * Copyright (c) 2010 Lenka Trochtova
     2 * Copyright (c) 2011 Martin Decky
    43 * All rights reserved.
    54 *
     
    3433 */
    3534
    36 #ifndef LIBC_DEVMAN_OBSOLETE_H_
    37 #define LIBC_DEVMAN_OBSOLETE_H_
     35#ifndef LIBC_FOURCC_H_
     36#define LIBC_FOURCC_H_
    3837
    39 #include <ipc/devman.h>
    40 #include <async.h>
    41 #include <bool.h>
     38#include <libarch/common.h>
    4239
    43 extern int devman_obsolete_get_phone(devman_interface_t, unsigned int);
    44 extern void devman_obsolete_hangup_phone(devman_interface_t);
    45 
    46 extern int devman_obsolete_device_connect(devman_handle_t, unsigned int);
    47 extern int devman_obsolete_parent_device_connect(devman_handle_t, unsigned int);
     40#define FOURCC(a, b, c, d) \
     41        (((UINT32_T) (a)) | (((UINT32_T) (b)) << 8) | \
     42            (((UINT32_T) (c)) << 16) | (((UINT32_T) (d)) << 24))
    4843
    4944#endif
Note: See TracChangeset for help on using the changeset viewer.