commit 80bbfd169b74736b4b01e28700949b6d62df494a
parent a9b219b3c46c56042206e699344f0d486e0c615d
Author: Ricardo Mones <ricardo@mones.org>
Date: Sun, 6 May 2018 11:37:44 +0200
Fix warning: ‘struct sockaddr’ declared inside…
By including our utils.h instead of spamassassin homonymous file.
In file included from ../../../src/procmsg.h:32:0,
from spamassassin.c:42:
./utils.h:124:47: warning: ‘struct sockaddr’ declared inside parameter list will not be visible outside of this definition or declaration
int timeout_connect (int sockfd, const struct sockaddr *serv_addr, size_t addrlen);
^~~~~~~~
Diffstat:
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/src/procmsg.c b/src/procmsg.c
@@ -1,6 +1,6 @@
/*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2018 Hiroyuki Yamamoto and the Claws Mail team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
*/
#include "defs.h"
diff --git a/src/procmsg.h b/src/procmsg.h
@@ -1,6 +1,6 @@
/*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2018 Hiroyuki Yamamoto and the Claws Mail team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
*/
#ifndef __PROCMSG_H__
@@ -29,7 +28,7 @@
#include <time.h>
#include <sys/types.h>
#include <string.h>
-#include "utils.h"
+#include "common/utils.h"
#include "proctypes.h"
#define MSG_NEW (1U << 0)