mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-28 01:27:09 +03:00
Includes: Remove unnecessary include files
Include common system header files in coap_internal.h based on HAVE_*H definitions. Remove these system header files from include/*/*.h. Add in system header files where appropriate in various apps.
This commit is contained in:
1 parent
c9a4b716c4
commit
152f6a8a58
69 files changed
+140
-125
No files matched your search
@@ -47,7 +47,6 @@
|
||||
#ifndef _OSCORE_H
|
||||
#define _OSCORE_H
|
||||
|
||||
#include <coap3/coap_internal.h>
|
||||
#include "oscore_cose.h"
|
||||
#include "oscore_context.h"
|
||||
|
||||
|
||||
@@ -46,8 +46,6 @@
|
||||
|
||||
#ifndef _OSCORE_CBOR_H
|
||||
#define _OSCORE_CBOR_H
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -48,9 +48,7 @@
|
||||
#ifndef _OSCORE_CONTEXT_H
|
||||
#define _OSCORE_CONTEXT_H
|
||||
|
||||
#include "coap3/coap_internal.h"
|
||||
#include "coap3/coap_uthash_internal.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -46,8 +46,6 @@
|
||||
#ifndef _OSCORE_COSE_H
|
||||
#define _OSCORE_COSE_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
#ifndef _OSCORE_CRYPTO_H
|
||||
#define _OSCORE_CRYPTO_H
|
||||
|
||||
#include <coap3/coap_internal.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user