(RELENG_6) Bogus typedef in src/sys/amd64/include/_types.h

Conrad J. Sabatier conrads at cox.net
Sun Oct 30 16:11:16 PST 2005


 * $FreeBSD: src/sys/amd64/include/_types.h,v 1.9 2005/07/02 23:13:30
thompsa Exp $
 */

#ifndef _MACHINE__TYPES_H_
#define _MACHINE__TYPES_H_

#ifndef _SYS_CDEFS_H_
#error this file needs sys/cdefs.h as a prerequisite
#endif

#define __NO_STRICT_ALIGNMENT

/*
 * Basic types upon which most other types are built.
 */
typedef __signed char           __int8_t;
        ^^
        ||
Surely this is a typo, right?

typedef unsigned char           __uint8_t;
typedef short                   __int16_t;
typedef unsigned short          __uint16_t;
typedef int                     __int32_t;
typedef unsigned int            __uint32_t;
typedef long                    __int64_t;
typedef unsigned long           __uint64_t;

I just ran into this while rebuilding ports/sysutils/barry.

-- 
Conrad J. Sabatier <conrads at cox.net> -- "In Unix veritas"


More information about the freebsd-amd64 mailing list