Include "whence.h" instead of "log.h" where suitable

Some inclusions of "log.h" were simply to get struct __sourceloc and
__WHENCE__
This commit is contained in:
Andrew Bettison 2015-07-13 18:24:16 +09:30
parent 52106b5026
commit 0a061e0fe8
3 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef __SERVAL_DNA__INSTANCE_H
#define __SERVAL_DNA__INSTANCE_H
#include "log.h"
#include "whence.h"
#include "strbuf.h"
const char *instance_path(); // returns NULL if not using an instance path

2
net.h
View File

@ -36,7 +36,7 @@ struct in_addr {
#endif
#endif
#include "log.h" // for __WHENCE__ and struct __sourceloc
#include "whence.h" // for __WHENCE__ and struct __sourceloc
/* Build a struct in_addr from a host-byte-order integer.
*

View File

@ -32,7 +32,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# endif
#endif
#include "log.h"
#include "whence.h"
struct socket_address{
socklen_t addrlen;