Changeset fadd381 in mainline for uspace/libc/arch/amd64/include


Ignore:
Timestamp:
2006-09-04T20:22:14Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2def788
Parents:
fd85ae5
Message:

Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.

Location:
uspace/libc/arch/amd64/include
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • uspace/libc/arch/amd64/include/atomic.h

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcamd64 amd64
     29/** @addtogroup libcamd64 amd64
    3030 * @ingroup lc
    3131 * @brief       amd64 architecture dependent parts of libc
     
    3535 */
    3636
    37 #ifndef __amd64_ATOMIC_H__
    38 #define __amd64_ATOMIC_H__
     37#ifndef LIBC_amd64_ATOMIC_H_
     38#define LIBC_amd64_ATOMIC_H_
    3939
    4040static inline void atomic_inc(atomic_t *val) {
     
    7777#endif
    7878
    79 
    80  /** @}
     79/** @}
    8180 */
    82  
    83  
  • uspace/libc/arch/amd64/include/endian.h

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcamd64
     29/** @addtogroup libcamd64
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __amd64_ENDIAN_H__
    36 #define __amd64_ENDIAN_H__
     35#ifndef LIBC_amd64_ENDIAN_H_
     36#define LIBC_amd64_ENDIAN_H_
    3737
    38 #ifndef __LIBC__ENDIAN_H__
     38#ifndef LIBC_ENDIAN_H_
    3939# error "Never use <libarch/endian.h> directly - use <endian.h> instead."
    4040#endif
     
    4444#endif
    4545
    46 
    47 
    48  /** @}
     46/** @}
    4947 */
    5048 
  • uspace/libc/arch/amd64/include/limits.h

    rfd85ae5 rfadd381  
    3333 */
    3434
    35 #ifndef __amd64__LIMITS_H__
    36 #define __amd64__LIMITS_H__
     35#ifndef LIBC_amd64_LIMITS_H_
     36#define LIBC_amd64_LIMITS_H_
    3737
    3838# define LONG_MIN MIN_INT64
  • uspace/libc/arch/amd64/include/psthread.h

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcamd64
     29/** @addtogroup libcamd64
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __LIBC__amd64PSTHREAD_H__
    36 #define __LIBC__amd64PSTHREAD_H__
     35#ifndef LIBC_amd64_PSTHREAD_H_
     36#define LIBC_amd64_PSTHREAD_H_
    3737
    3838#include <types.h>
     
    6464#endif
    6565
    66 
    67  /** @}
     66/** @}
    6867 */
    69  
    70  
  • uspace/libc/arch/amd64/include/stackarg.h

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcamd64
     29/** @addtogroup libcamd64
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __LIBC__STACKARG_H__
    36 #define __LIBC__STACKARG_H__
     35#ifndef LIBC_STACKARG_H_
     36#define LIBC_STACKARG_H_
    3737
    3838#endif
    3939
    40 
    41  /** @}
     40/** @}
    4241 */
    43  
    44  
  • uspace/libc/arch/amd64/include/thread.h

    rfd85ae5 rfadd381  
    2727 */
    2828
    29  /** @addtogroup libcamd64
     29/** @addtogroup libcamd64
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __LIBC__amd64THREAD_H__
    36 #define __LIBC__amd64THREAD_H__
     35#ifndef LIBC_amd64_THREAD_H_
     36#define LIBC_amd64_THREAD_H_
    3737
    3838#include <libc.h>
     
    5858#endif
    5959
    60 
    61  /** @}
     60/** @}
    6261 */
    63  
    64  
  • uspace/libc/arch/amd64/include/types.h

    rfd85ae5 rfadd381  
    3333 */
    3434
    35 #ifndef __LIBC__TYPES_H__
    36 #define __LIBC__TYPES_H__
     35#ifndef LIBC_amd64_TYPES_H_
     36#define LIBC_amd64_TYPES_H_
    3737
    3838typedef unsigned long long sysarg_t;
Note: See TracChangeset for help on using the changeset viewer.