Ignore:
Timestamp:
2008-04-03T20:46:47Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
12ab886
Parents:
5d494b3
Message:

Replace all endian.h in uspace with a copy of the kernel's respective byteorder.h.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/arch/ia32/include/byteorder.h

    r5d494b3 r776f2e6  
    11/*
    2  * Copyright (c) 2006 Josef Cejka
     2 * Copyright (c) 2005 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup libcppc64       
     29/** @addtogroup libcia32       
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef LIBC_ppc64_ENDIAN_H_
    36 #define LIBC_ppc64_ENDIAN_H_
     35#ifndef LIBC_ia32_BYTEORDER_H_
     36#define LIBC_ia32_BYTEORDER_H_
    3737
    38 #ifndef LIBC_ENDIAN_H_
    39 # error "Never use <libarch/endian.h> directly - use <endian.h> instead."
    40 #endif
    41 
    42 #define __BYTE_ORDER __BIG_ENDIAN
     38/* IA-32 is little-endian */
     39#define ARCH_IS_LITTLE_ENDIAN
    4340
    4441#endif
Note: See TracChangeset for help on using the changeset viewer.