Skip to content

Commit

Permalink
Code review of enclave_impl.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ChadliaJerad committed Jun 8, 2023
1 parent ea1071c commit 8aaeaaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/federated/RTI/enclave_impl.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "enclave.h"

// FIXME: This should not be here.
#include "platform.h"
// References to the enclave RTI.
extern enclave_RTI_t * _E_RTI;

void notify_tag_advance_grant(enclave_t* e, tag_t tag) {
if (e->state == NOT_CONNECTED
Expand All @@ -10,7 +10,7 @@ void notify_tag_advance_grant(enclave_t* e, tag_t tag) {
) {
return;
}
if (_RTI.tracing_enabled) {
if (_E_RTI->tracing_enabled) {
tracepoint_RTI_to_federate(send_TAG, e->id, &tag);
}
e->last_granted = tag;
Expand Down

0 comments on commit 8aaeaaf

Please sign in to comment.