diff options
Diffstat (limited to 'include/jemalloc/internal/smoothstep.sh')
| -rwxr-xr-x | include/jemalloc/internal/smoothstep.sh | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/include/jemalloc/internal/smoothstep.sh b/include/jemalloc/internal/smoothstep.sh index 8124693..65de97b 100755 --- a/include/jemalloc/internal/smoothstep.sh +++ b/include/jemalloc/internal/smoothstep.sh @@ -54,12 +54,14 @@ smoothest() { } cat <<EOF +#ifndef JEMALLOC_INTERNAL_SMOOTHSTEP_H +#define JEMALLOC_INTERNAL_SMOOTHSTEP_H + /* * This file was generated by the following command: * $cmd */ /******************************************************************************/ -#ifdef JEMALLOC_H_TYPES /* * This header defines a precomputed table based on the smoothstep family of @@ -77,10 +79,10 @@ cat <<EOF * smootheststep(x) = -20x + 70x - 84x + 35x */ -#define SMOOTHSTEP_VARIANT "${variant}" -#define SMOOTHSTEP_NSTEPS ${nsteps} -#define SMOOTHSTEP_BFP ${bfp} -#define SMOOTHSTEP \\ +#define SMOOTHSTEP_VARIANT "${variant}" +#define SMOOTHSTEP_NSTEPS ${nsteps} +#define SMOOTHSTEP_BFP ${bfp} +#define SMOOTHSTEP \\ /* STEP(step, h, x, y) */ \\ EOF @@ -95,21 +97,5 @@ done echo cat <<EOF -#endif /* JEMALLOC_H_TYPES */ -/******************************************************************************/ -#ifdef JEMALLOC_H_STRUCTS - - -#endif /* JEMALLOC_H_STRUCTS */ -/******************************************************************************/ -#ifdef JEMALLOC_H_EXTERNS - - -#endif /* JEMALLOC_H_EXTERNS */ -/******************************************************************************/ -#ifdef JEMALLOC_H_INLINES - - -#endif /* JEMALLOC_H_INLINES */ -/******************************************************************************/ +#endif /* JEMALLOC_INTERNAL_SMOOTHSTEP_H */ EOF |
