Skip to content

Commit

Permalink
move deprecated platform header to a separate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Mar 5, 2024
1 parent d9ed7eb commit 1c3bfa0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>

#ifndef ZENOH_PICO_PLATFORM_DEPRECATED_H
#define ZENOH_PICO_PLATFORM_DEPRECATED_H
#ifndef ZENOH_PICO_DEPRECATED_PLATFORM_H
#define ZENOH_PICO_DEPRECATED_PLATFORM_H

#include <stdint.h>

Expand Down
2 changes: 1 addition & 1 deletion include/zenoh-pico/system/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <stdint.h>

#include "zenoh-pico/config.h"
#include "zenoh-pico/system/deprecated.h"
#include "zenoh-pico/deprecated/platform.h"
#include "zenoh-pico/system/platform-common.h"

#endif /* ZENOH_PICO_SYSTEM_PLATFORM_H */
3 changes: 2 additions & 1 deletion src/deprecated/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
// ZettaScale Zenoh Team, <[email protected]>
//

#include "zenoh-pico/system/deprecated.h"
#include "zenoh-pico/deprecated/platform.h"

#include "zenoh-pico/system/platform-common.h"

uint8_t zp_random_u8(void) { return z_random_u8(); };
Expand Down

0 comments on commit 1c3bfa0

Please sign in to comment.