Changing '__attribute__((' to '__attribute__ ((' for consistency.

Closes #378
parent e53a54a8
Pipeline #154023 passed with stages
in 113 minutes and 52 seconds
......@@ -1874,7 +1874,7 @@ else
/* When -fvisibility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
int fnord () __attribute__((visibility("default")));
int fnord () __attribute__ ((visibility("default")));
#endif
int fnord () { return 42; }
......
......@@ -5676,7 +5676,7 @@ EOF
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
# define externally_visible volatile
#else
# define externally_visible __attribute__((externally_visible)) volatile
# define externally_visible __attribute__ ((externally_visible)) volatile
#endif
externally_visible const char * MAGIC_EXE = "$magic_exe";
const char * LIB_PATH_VARNAME = "$shlibpath_var";
......
......@@ -29,7 +29,7 @@
#define FFTWX_DESTROY_PLAN CONCAT2(FFTWX,_destroy_plan)
#define FFTWX_EXECUTE_DFT CONCAT2(FFTWX,_execute_dft)
PLAN_TYPE *CREATE_PLAN_FUNCTION(UINT4 size, int fwdflg, __attribute__((unused)) int measurelvl)
PLAN_TYPE *CREATE_PLAN_FUNCTION(UINT4 size, int fwdflg, __attribute__ ((unused)) int measurelvl)
{
PLAN_TYPE *plan;
INT8 fftStat;
......
......@@ -36,7 +36,7 @@
#define FFTWX_DESTROY_PLAN CONCAT2(FFTWX,_destroy_plan)
#define FFTWX_EXECUTE_R2R CONCAT2(FFTWX,_execute_r2r)
PLAN_TYPE *CREATE_PLAN_FUNCTION(UINT4 size, int fwdflg, __attribute__((unused)) int measurelvl)
PLAN_TYPE *CREATE_PLAN_FUNCTION(UINT4 size, int fwdflg, __attribute__ ((unused)) int measurelvl)
{
PLAN_TYPE *plan;
INT8 fftStat;
......
......@@ -28,7 +28,7 @@ pthread_mutex_t lalGSLPthreadMutex = PTHREAD_MUTEX_INITIALIZER;
#endif
#if __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -27,7 +27,7 @@
#include <lal/ResampleTimeSeries.h>
#if __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -587,7 +587,7 @@ void XLALDestroyNearestNeighborTriggerInterpolant(NearestNeighborTriggerInterpol
int XLALCOMPLEX16ApplyNearestNeighborTriggerInterpolant(
__attribute__((unused)) NearestNeighborTriggerInterpolant *interp,
__attribute__ ((unused)) NearestNeighborTriggerInterpolant *interp,
double *t,
COMPLEX16 *y,
const COMPLEX16 *data)
......
......@@ -37,7 +37,7 @@
# define ALIGN16_END
#else /* gcc or icc */
# define ALIGN32_BEG
# define ALIGN32_END __attribute__((aligned(32)))
# define ALIGN32_END __attribute__ ((aligned(32)))
#endif
/* __m128 is ugly to write */
......
......@@ -38,7 +38,7 @@
# define ALIGN16_END
#else /* gcc or icc */
# define ALIGN16_BEG
# define ALIGN16_END __attribute__((aligned(16)))
# define ALIGN16_END __attribute__ ((aligned(16)))
#endif
/* __m128 is ugly to write */
......
......@@ -37,7 +37,7 @@
# define ALIGN16_END
#else /* gcc or icc */
# define ALIGN32_BEG
# define ALIGN32_END __attribute__((aligned(32)))
# define ALIGN32_END __attribute__ ((aligned(32)))
#endif
/* __m128 is ugly to write */
......
......@@ -38,7 +38,7 @@
# define ALIGN16_END
#else /* gcc or icc */
# define ALIGN16_BEG
# define ALIGN16_END __attribute__((aligned(16)))
# define ALIGN16_END __attribute__ ((aligned(16)))
#endif
/* __m128 is ugly to write */
......
......@@ -24,7 +24,7 @@
#include <lal/TriggerInterpolation.h>
int main(__attribute__((unused)) int argc, __attribute__((unused)) char **argv)
int main(__attribute__ ((unused)) int argc, __attribute__ ((unused)) char **argv)
{
int result;
double tmax;
......
......@@ -24,7 +24,7 @@
#include <lal/TriggerInterpolation.h>
int main(__attribute__((unused)) int argc, __attribute__((unused)) char **argv)
int main(__attribute__ ((unused)) int argc, __attribute__ ((unused)) char **argv)
{
int result;
double tmax;
......
......@@ -23,7 +23,7 @@
#include <lal/TriggerInterpolation.h>
int main(__attribute__((unused)) int argc, __attribute__((unused)) char **argv)
int main(__attribute__ ((unused)) int argc, __attribute__ ((unused)) char **argv)
{
int result;
double tmax;
......
......@@ -23,7 +23,7 @@
#include <lal/TriggerInterpolation.h>
int main(__attribute__((unused)) int argc, __attribute__((unused)) char **argv)
int main(__attribute__ ((unused)) int argc, __attribute__ ((unused)) char **argv)
{
int result;
double tmax;
......
......@@ -1874,7 +1874,7 @@ else
/* When -fvisibility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
int fnord () __attribute__((visibility("default")));
int fnord () __attribute__ ((visibility("default")));
#endif
int fnord () { return 42; }
......
......@@ -5676,7 +5676,7 @@ EOF
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
# define externally_visible volatile
#else
# define externally_visible __attribute__((externally_visible)) volatile
# define externally_visible __attribute__ ((externally_visible)) volatile
#endif
externally_visible const char * MAGIC_EXE = "$magic_exe";
const char * LIB_PATH_VARNAME = "$shlibpath_var";
......
......@@ -74,7 +74,7 @@ static int smallerHough(const void *a,const void *b) {
#endif
#ifdef __GNUC__
#define ALWAYS_INLINE __attribute__((always_inline))
#define ALWAYS_INLINE __attribute__ ((always_inline))
#else
#define ALWAYS_INLINE
#endif
......
......@@ -1874,7 +1874,7 @@ else
/* When -fvisibility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
int fnord () __attribute__((visibility("default")));
int fnord () __attribute__ ((visibility("default")));
#endif
int fnord () { return 42; }
......
......@@ -5676,7 +5676,7 @@ EOF
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
# define externally_visible volatile
#else
# define externally_visible __attribute__((externally_visible)) volatile
# define externally_visible __attribute__ ((externally_visible)) volatile
#endif
externally_visible const char * MAGIC_EXE = "$magic_exe";
const char * LIB_PATH_VARNAME = "$shlibpath_var";
......
......@@ -1874,7 +1874,7 @@ else
/* When -fvisibility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
int fnord () __attribute__((visibility("default")));
int fnord () __attribute__ ((visibility("default")));
#endif
int fnord () { return 42; }
......
......@@ -5676,7 +5676,7 @@ EOF
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
# define externally_visible volatile
#else
# define externally_visible __attribute__((externally_visible)) volatile
# define externally_visible __attribute__ ((externally_visible)) volatile
#endif
externally_visible const char * MAGIC_EXE = "$magic_exe";
const char * LIB_PATH_VARNAME = "$shlibpath_var";
......
......@@ -1874,7 +1874,7 @@ else
/* When -fvisibility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
int fnord () __attribute__((visibility("default")));
int fnord () __attribute__ ((visibility("default")));
#endif
int fnord () { return 42; }
......
......@@ -5676,7 +5676,7 @@ EOF
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
# define externally_visible volatile
#else
# define externally_visible __attribute__((externally_visible)) volatile
# define externally_visible __attribute__ ((externally_visible)) volatile
#endif
externally_visible const char * MAGIC_EXE = "$magic_exe";
const char * LIB_PATH_VARNAME = "$shlibpath_var";
......
......@@ -1874,7 +1874,7 @@ else
/* When -fvisibility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
int fnord () __attribute__((visibility("default")));
int fnord () __attribute__ ((visibility("default")));
#endif
int fnord () { return 42; }
......
......@@ -5676,7 +5676,7 @@ EOF
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
# define externally_visible volatile
#else
# define externally_visible __attribute__((externally_visible)) volatile
# define externally_visible __attribute__ ((externally_visible)) volatile
#endif
externally_visible const char * MAGIC_EXE = "$magic_exe";
const char * LIB_PATH_VARNAME = "$shlibpath_var";
......
......@@ -1874,7 +1874,7 @@ else
/* When -fvisibility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
int fnord () __attribute__((visibility("default")));
int fnord () __attribute__ ((visibility("default")));
#endif
int fnord () { return 42; }
......
......@@ -5676,7 +5676,7 @@ EOF
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
# define externally_visible volatile
#else
# define externally_visible __attribute__((externally_visible)) volatile
# define externally_visible __attribute__ ((externally_visible)) volatile
#endif
externally_visible const char * MAGIC_EXE = "$magic_exe";
const char * LIB_PATH_VARNAME = "$shlibpath_var";
......
......@@ -1874,7 +1874,7 @@ else
/* When -fvisibility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
int fnord () __attribute__((visibility("default")));
int fnord () __attribute__ ((visibility("default")));
#endif
int fnord () { return 42; }
......
......@@ -5676,7 +5676,7 @@ EOF
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
# define externally_visible volatile
#else
# define externally_visible __attribute__((externally_visible)) volatile
# define externally_visible __attribute__ ((externally_visible)) volatile
#endif
externally_visible const char * MAGIC_EXE = "$magic_exe";
const char * LIB_PATH_VARNAME = "$shlibpath_var";
......
......@@ -1874,7 +1874,7 @@ else
/* When -fvisibility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
int fnord () __attribute__((visibility("default")));
int fnord () __attribute__ ((visibility("default")));
#endif
int fnord () { return 42; }
......
......@@ -5676,7 +5676,7 @@ EOF
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
# define externally_visible volatile
#else
# define externally_visible __attribute__((externally_visible)) volatile
# define externally_visible __attribute__ ((externally_visible)) volatile
#endif
externally_visible const char * MAGIC_EXE = "$magic_exe";
const char * LIB_PATH_VARNAME = "$shlibpath_var";
......
......@@ -14,7 +14,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......@@ -338,4 +338,4 @@ int IMRPhenomHMGetRingdownFrequency(
}
#endif
#endif /* _LALSIM_IMR_PHENOMHM_H */
\ No newline at end of file
#endif /* _LALSIM_IMR_PHENOMHM_H */
......@@ -6,7 +6,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -6,7 +6,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -32,7 +32,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -33,7 +33,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -32,7 +32,7 @@
extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -25,7 +25,7 @@
extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -27,7 +27,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -31,7 +31,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -31,7 +31,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -31,7 +31,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -31,7 +31,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -30,7 +30,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -31,7 +31,7 @@ extern "C" {
#endif
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......
......@@ -79,7 +79,7 @@
#ifdef __GNUC__
#ifndef UNUSED
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#endif
#else
#define UNUSED
......
......@@ -21,7 +21,7 @@
/* HEADER SECTION */
/* .................... */
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
......@@ -209,4 +209,4 @@ complex double SimRingdownCW_CW07102016(double kappa, /* Domain mapping for rem
return ans;
} /* END of CW07102016 */
\ No newline at end of file
} /* END of CW07102016 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment