Skip to content

Commit ef48c72

Browse files
committed
Fix some trivial typos/nitpicks
Signed-off-by: Michał Kowalczyk <[email protected]>
1 parent edb071b commit ef48c72

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CI-Examples/ra-tls-mbedtls/src/client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ static int my_verify_callback(void* data, mbedtls_x509_crt* crt, int depth, uint
124124
(struct ra_tls_verify_callback_results*)data);
125125
}
126126

127-
static bool getenv_client_inside_sgx() {
127+
static bool getenv_client_inside_sgx(void) {
128128
char* str = getenv("RA_TLS_CLIENT_INSIDE_SGX");
129129
if (!str)
130130
return false;

libos/src/sys/libos_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ long libos_syscall_sendfile(int out_fd, int in_fd, off_t* offset, size_t count)
551551

552552
out:
553553
if (buf == g_sendfile_buf)
554-
__atomic_store_n(&g_sendfile_buf_in_use, 0, __ATOMIC_RELEASE);
554+
__atomic_store_n(&g_sendfile_buf_in_use, false, __ATOMIC_RELEASE);
555555
else
556556
free(buf);
557557
put_handle(in_hdl);

pal/src/pal_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ noreturn void pal_main(uint64_t instance_id, /* current instance id */
369369
PAL_HANDLE parent_process, /* parent process if it's a child */
370370
PAL_HANDLE first_thread, /* first thread handle */
371371
const char** arguments, /* application arguments */
372-
const char** environments /* environment variables */,
372+
const char** environments, /* environment variables */
373373
void (*post_callback)(void) /* callback into host-specific loader */) {
374374
if (!instance_id) {
375375
assert(!parent_process);

0 commit comments

Comments
 (0)