Skip to content

Commit b8fdd0f

Browse files
committed
Fix sgx tests
1 parent 8d0b727 commit b8fdd0f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+949
-781
lines changed

sgx/gbdt-sgx-test/common/inc/assert.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* $OpenBSD: assert.h,v 1.12 2006/01/31 10:53:51 hshoexer Exp $ */
2-
/* $NetBSD: assert.h,v 1.6 1994/10/26 00:55:44 cgd Exp $ */
1+
/* $OpenBSD: assert.h,v 1.12 2006/01/31 10:53:51 hshoexer Exp $ */
2+
/* $NetBSD: assert.h,v 1.6 1994/10/26 00:55:44 cgd Exp $ */
33

44
/*-
55
* Copyright (c) 1992, 1993

sgx/gbdt-sgx-test/common/inc/complex.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $OpenBSD: complex.h,v 1.3 2010/07/24 22:17:03 guenther Exp $ */
1+
/* $OpenBSD: complex.h,v 1.3 2010/07/24 22:17:03 guenther Exp $ */
22
/*
33
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
44
*
@@ -16,7 +16,7 @@
1616
*/
1717

1818
#ifndef _COMPLEX_H_
19-
#define _COMPLEX_H_
19+
#define _COMPLEX_H_
2020

2121
#include <sys/cdefs.h>
2222

@@ -25,18 +25,18 @@
2525
*/
2626
#ifdef __GNUC__
2727
#if __STDC_VERSION__ < 199901
28-
#define _Complex __complex__
28+
#define _Complex __complex__
2929
#endif
30-
#define _Complex_I 1.0fi
30+
#define _Complex_I 1.0fi
3131
#elif defined(lint)
32-
#define _Complex_I 1.0fi
32+
#define _Complex_I 1.0fi
3333
#endif
3434

35-
#define complex _Complex
35+
#define complex _Complex
3636

3737
/* XXX switch to _Imaginary_I */
3838
#undef I
39-
#define I _Complex_I
39+
#define I _Complex_I
4040

4141
__BEGIN_DECLS
4242
/*

sgx/gbdt-sgx-test/common/inc/ctype.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3535
* SUCH DAMAGE.
3636
*
37-
* @(#)ctype.h 5.3 (Berkeley) 4/3/91
37+
* @(#)ctype.h 5.3 (Berkeley) 4/3/91
3838
*/
3939

4040
#ifndef _CTYPE_H_

sgx/gbdt-sgx-test/common/inc/dirent.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct dirent
2929
#endif
3030
unsigned short int d_reclen;
3131
unsigned char d_type;
32-
char d_name[256]; /* We must not include limits.h! */
32+
char d_name[256]; /* We must not include limits.h! */
3333
};
3434

3535
//#ifdef __USE_LARGEFILE64
@@ -39,11 +39,11 @@ struct dirent64
3939
__off64_t d_off;
4040
unsigned short int d_reclen;
4141
unsigned char d_type;
42-
char d_name[256]; /* We must not include limits.h! */
42+
char d_name[256]; /* We must not include limits.h! */
4343
};
4444
//#endif
4545

46-
#define d_fileno d_ino /* Backwards compatibility. */
46+
#define d_fileno d_ino /* Backwards compatibility. */
4747

4848
#undef _DIRENT_HAVE_D_NAMLEN
4949
#define _DIRENT_HAVE_D_RECLEN
@@ -52,8 +52,8 @@ struct dirent64
5252

5353
#if defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T
5454
/* Inform libc code that these two types are effectively identical. */
55-
# define _DIRENT_MATCHES_DIRENT64 1
55+
# define _DIRENT_MATCHES_DIRENT64 1
5656
#else
57-
# define _DIRENT_MATCHES_DIRENT64 0
57+
# define _DIRENT_MATCHES_DIRENT64 0
58+
#endif
5859
#endif
59-
#endif

sgx/gbdt-sgx-test/common/inc/endian.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $OpenBSD: endian.h,v 1.18 2006/03/27 07:09:24 otto Exp $ */
1+
/* $OpenBSD: endian.h,v 1.18 2006/03/27 07:09:24 otto Exp $ */
22

33
/*-
44
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.

sgx/gbdt-sgx-test/common/inc/errno.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $OpenBSD: errno.h,v 1.1 2005/12/28 16:33:56 millert Exp $ */
1+
/* $OpenBSD: errno.h,v 1.1 2005/12/28 16:33:56 millert Exp $ */
22

33
/*
44
* Copyright (c) 1982, 1986, 1989, 1993
@@ -33,7 +33,7 @@
3333
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3434
* SUCH DAMAGE.
3535
*
36-
* @(#)errno.h 8.5 (Berkeley) 1/21/94
36+
* @(#)errno.h 8.5 (Berkeley) 1/21/94
3737
*/
3838

3939
#ifndef _ERRNO_H_
@@ -180,7 +180,7 @@ __BEGIN_DECLS
180180

181181
#ifndef errno
182182
int * _TLIBC_CDECL_ __errno(void);
183-
#define errno (*__errno())
183+
#define errno (*__errno())
184184
#endif /* errno */
185185
__END_DECLS
186186

sgx/gbdt-sgx-test/common/inc/float.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* $OpenBSD: float.h,v 1.3 2008/07/21 20:50:54 martynas Exp $ */
2-
/* $NetBSD: float.h,v 1.8 1995/06/20 20:45:37 jtc Exp $ */
1+
/* $OpenBSD: float.h,v 1.3 2008/07/21 20:50:54 martynas Exp $ */
2+
/* $NetBSD: float.h,v 1.8 1995/06/20 20:45:37 jtc Exp $ */
33

44
/*
55
* Copyright (c) 1989 Regents of the University of California.

sgx/gbdt-sgx-test/common/inc/iso646.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* $OpenBSD: iso646.h,v 1.3 2001/10/11 00:05:21 espie Exp $ */
2-
/* $NetBSD: iso646.h,v 1.1 1995/02/17 09:08:10 jtc Exp $ */
1+
/* $OpenBSD: iso646.h,v 1.3 2001/10/11 00:05:21 espie Exp $ */
2+
/* $NetBSD: iso646.h,v 1.1 1995/02/17 09:08:10 jtc Exp $ */
33

44
/*
55
* Written by J.T. Conklin <jtc@wimsey.com> 02/16/95.

sgx/gbdt-sgx-test/common/inc/limits.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* $OpenBSD: limits.h,v 1.15 2008/02/10 09:59:54 kettenis Exp $ */
2-
/* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */
1+
/* $OpenBSD: limits.h,v 1.15 2008/02/10 09:59:54 kettenis Exp $ */
2+
/* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */
33

44
/*
55
* Copyright (c) 1988 The Regents of the University of California.
@@ -29,7 +29,7 @@
2929
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030
* SUCH DAMAGE.
3131
*
32-
* @(#)limits.h 5.9 (Berkeley) 4/3/91
32+
* @(#)limits.h 5.9 (Berkeley) 4/3/91
3333
*/
3434

3535

sgx/gbdt-sgx-test/common/inc/math.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $OpenBSD: math.h,v 1.27 2010/12/14 11:16:15 martynas Exp $ */
1+
/* $OpenBSD: math.h,v 1.27 2010/12/14 11:16:15 martynas Exp $ */
22
/*
33
* ====================================================
44
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@ -145,7 +145,7 @@ double _TLIBC_CDECL_ tgamma(double);
145145

146146
double _TLIBC_CDECL_ nearbyint(double);
147147
double _TLIBC_CDECL_ rint(double);
148-
long int _TLIBC_CDECL_ lrint(double);
148+
long int _TLIBC_CDECL_ lrint(double);
149149
long long int _TLIBC_CDECL_ llrint(double);
150150
double _TLIBC_CDECL_ round(double);
151151
long int _TLIBC_CDECL_ lround(double);

0 commit comments

Comments
 (0)