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


Ignore:
Timestamp:
2011-09-19T16:31:00Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a347a11
Parents:
3842a955 (diff), 086290d (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

    r3842a955 r26e7d6d  
    11/*
    2  * Copyright (c) 2009 Jiri Svoboda
     2 * Copyright (c) 2011 Martin Decky
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup mouse
    30  * @brief
     29/** @addtogroup libc
    3130 * @{
    3231 */
     
    3433 */
    3534
    36 #ifndef CHAR_MOUSE_H_
    37 #define CHAR_MOUSE_H_
     35#ifndef LIBC_FOURCC_H_
     36#define LIBC_FOURCC_H_
    3837
    39 extern void mouse_handle_byte(int);
    40 extern void mouse_ev_btn(int button, int press);
    41 extern void mouse_ev_move(int dx, int dy);
     38#include <libarch/common.h>
     39
     40#define FOURCC(a, b, c, d) \
     41        (((UINT32_T) (a)) | (((UINT32_T) (b)) << 8) | \
     42            (((UINT32_T) (c)) << 16) | (((UINT32_T) (d)) << 24))
    4243
    4344#endif
    4445
    45 /**
    46  * @}
     46/** @}
    4747 */
Note: See TracChangeset for help on using the changeset viewer.