Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2005 18:11:06 -0600 (CST)
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        freebsd-amd64@freebsd.org
Cc:        thompsa@freebsd.org
Subject:   (RELENG_6) Bogus typedef in src/sys/amd64/include/_types.h
Message-ID:  <XFMail.20051030181106.conrads@cox.net>

next in thread | raw e-mail | index | archive | help
 * $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.

--=20
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20051030181106.conrads>