Skip to content

Commit 31335a9

Browse files
committed
Merge pull request #123 from JuliaLang/tk/dllexport
Revert "Fix #35"
2 parents 0001d58 + c3b18b1 commit 31335a9

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

include/openlibm_fenv_amd64.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ extern const fenv_t __fe_dfl_env;
9595
#define __ldmxcsr(__csr) __asm __volatile("ldmxcsr %0" : : "m" (__csr))
9696
#define __stmxcsr(__csr) __asm __volatile("stmxcsr %0" : "=m" (*(__csr)))
9797

98-
__fenv_static __attribute__((always_inline)) DLLEXPORT inline int
98+
__fenv_static __attribute__((always_inline)) inline int
9999
feclearexcept(int __excepts)
100100
{
101101
fenv_t __env;
@@ -113,7 +113,7 @@ feclearexcept(int __excepts)
113113
return (0);
114114
}
115115

116-
__fenv_static DLLEXPORT inline int
116+
__fenv_static inline int
117117
fegetexceptflag(fexcept_t *__flagp, int __excepts)
118118
{
119119
uint32_t __mxcsr;
@@ -125,10 +125,10 @@ fegetexceptflag(fexcept_t *__flagp, int __excepts)
125125
return (0);
126126
}
127127

128-
DLLEXPORT int fesetexceptflag(const fexcept_t *__flagp, int __excepts);
129-
DLLEXPORT int feraiseexcept(int __excepts);
128+
int fesetexceptflag(const fexcept_t *__flagp, int __excepts);
129+
int feraiseexcept(int __excepts);
130130

131-
__fenv_static __attribute__((always_inline)) DLLEXPORT inline int
131+
__fenv_static __attribute__((always_inline)) inline int
132132
fetestexcept(int __excepts)
133133
{
134134
uint32_t __mxcsr;
@@ -139,7 +139,7 @@ fetestexcept(int __excepts)
139139
return ((__status | __mxcsr) & __excepts);
140140
}
141141

142-
__fenv_static DLLEXPORT inline int
142+
__fenv_static inline int
143143
fegetround(void)
144144
{
145145
uint16_t __control;
@@ -154,7 +154,7 @@ fegetround(void)
154154
return (__control & _ROUND_MASK);
155155
}
156156

157-
__fenv_static DLLEXPORT inline int
157+
__fenv_static inline int
158158
fesetround(int __round)
159159
{
160160
uint32_t __mxcsr;
@@ -176,10 +176,10 @@ fesetround(int __round)
176176
return (0);
177177
}
178178

179-
DLLEXPORT int fegetenv(fenv_t *__envp);
180-
DLLEXPORT int feholdexcept(fenv_t *__envp);
179+
int fegetenv(fenv_t *__envp);
180+
int feholdexcept(fenv_t *__envp);
181181

182-
__fenv_static DLLEXPORT inline int
182+
__fenv_static inline int
183183
fesetenv(const fenv_t *__envp)
184184
{
185185

@@ -196,15 +196,15 @@ fesetenv(const fenv_t *__envp)
196196
return (0);
197197
}
198198

199-
DLLEXPORT int feupdateenv(const fenv_t *__envp);
199+
int feupdateenv(const fenv_t *__envp);
200200

201201
#if __BSD_VISIBLE
202202

203-
DLLEXPORT int feenableexcept(int __mask);
204-
DLLEXPORT int fedisableexcept(int __mask);
203+
int feenableexcept(int __mask);
204+
int fedisableexcept(int __mask);
205205

206206
/* We currently provide no external definition of fegetexcept(). */
207-
static inline DLLEXPORT int
207+
static inline int
208208
fegetexcept(void)
209209
{
210210
uint16_t __control;

0 commit comments

Comments
 (0)