mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-31 23:15:48 +03:00
i/c/*.h: remove references to coap_config.h
The public header doesn't have to include a local dynamically created header file from the autotools. This would break the usability of the public header files.
This commit is contained in:
1 parent
889ba08ad0
commit
ea9c1cbedb
10 files changed
+2
-18
No files matched your search
@@ -14,8 +14,6 @@
|
||||
#ifndef _COAP_ADDRESS_H_
|
||||
#define _COAP_ADDRESS_H_
|
||||
|
||||
#include "coap_config.h"
|
||||
|
||||
#ifdef HAVE_ASSERT_H
|
||||
#include <assert.h>
|
||||
#else
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef _COAP_ASYNC_H_
|
||||
#define _COAP_ASYNC_H_
|
||||
|
||||
#include "coap_config.h"
|
||||
#include "net.h"
|
||||
|
||||
#ifndef WITHOUT_ASYNC
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
#ifndef _COAP_IO_H_
|
||||
#define _COAP_IO_H_
|
||||
|
||||
#include "coap_config.h"
|
||||
|
||||
#ifdef HAVE_ASSERT_H
|
||||
#include <assert.h>
|
||||
#else
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "coap_config.h"
|
||||
|
||||
/**
|
||||
* @defgroup clock Clock Handling
|
||||
* Default implementation of internal clock.
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
#ifndef _COAP_DEBUG_H_
|
||||
#define _COAP_DEBUG_H_
|
||||
|
||||
#include "coap_config.h"
|
||||
|
||||
#ifndef COAP_DEBUG_FD
|
||||
#define COAP_DEBUG_FD stdout
|
||||
#endif
|
||||
|
||||
+2
-3
@@ -13,8 +13,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "coap_config.h"
|
||||
|
||||
#ifdef HAVE_ASSERT_H
|
||||
#include <assert.h>
|
||||
#else
|
||||
@@ -216,7 +214,7 @@ coap_new_message_id(coap_context_t *context) {
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* CoAP stack context must be released with coap_free_context(). This function
|
||||
* clears all entries from the receive queue and send queue and deletes the
|
||||
* resources that have been registered with @p context, and frees the attached
|
||||
@@ -544,3 +542,4 @@ coap_pdu_t *coap_wellknown_response(coap_context_t *context,
|
||||
#endif
|
||||
|
||||
#endif /* _COAP_NET_H_ */
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#ifndef _PDU_H_
|
||||
#define _PDU_H_
|
||||
|
||||
#include "coap_config.h"
|
||||
#include "uri.h"
|
||||
|
||||
#ifdef WITH_LWIP
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
#ifndef _COAP_PRNG_H_
|
||||
#define _COAP_PRNG_H_
|
||||
|
||||
#include "coap_config.h"
|
||||
|
||||
/**
|
||||
* @defgroup prng Pseudo Random Numbers
|
||||
* @{
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
#ifndef _COAP_RESOURCE_H_
|
||||
#define _COAP_RESOURCE_H_
|
||||
|
||||
#include "coap_config.h"
|
||||
|
||||
#if defined(HAVE_ASSERT_H) && !defined(assert)
|
||||
# include <assert.h>
|
||||
#endif
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#ifndef _COAP_SUBSCRIBE_H_
|
||||
#define _COAP_SUBSCRIBE_H_
|
||||
|
||||
#include "coap_config.h"
|
||||
#include "address.h"
|
||||
#include "coap_io.h"
|
||||
|
||||
|
||||
Reference in new issue
Block a user