@@ -53,8 +53,6 @@
#define ACM_ADDR_FILE "ibacm_addr.cfg"
#define ACM_OPTS_FILE "ibacm_opts.cfg"
-#define CDECL_FUNC
-
#if DEFINE_ATOMICS
typedef struct { pthread_mutex_t mut; int val; } atomic_t;
static inline int atomic_inc(atomic_t *atomic)
@@ -3049,7 +3049,7 @@ static void show_usage(char *program)
printf(" (default %s/%s)\n", ACM_CONF_DIR, ACM_OPTS_FILE);
}
-int CDECL_FUNC main(int argc, char **argv)
+int main(int argc, char **argv)
{
int i, op, daemon = 1;
@@ -983,7 +983,7 @@ static void parse_perf_arg(char *arg)
}
}
-int CDECL_FUNC main(int argc, char **argv)
+int main(int argc, char **argv)
{
int op, ret;
int make_addr = 0;
Signed-off-by: Christoph Hellwig <hch@lst.de> --- ibacm/linux/osd.h | 2 -- ibacm/src/acm.c | 2 +- ibacm/src/acme.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-)