diff --git a/libluna/include/luna/CircularQueue.h b/libluna/include/luna/CircularQueue.h index a4265cce..a9e087f2 100644 --- a/libluna/include/luna/CircularQueue.h +++ b/libluna/include/luna/CircularQueue.h @@ -46,7 +46,7 @@ template class CircularQueue * @brief Push a value onto the queue. * * @param value The value to push. - * @return true The operation succeded. + * @return true The operation succeeded. * @return false The queue was full or someone else was trying to push a value at the same time. */ bool try_push(const T& value) @@ -71,7 +71,7 @@ template class CircularQueue * @brief Pop a value from the queue. * * @param value The variable to store the value into. - * @return true The operation succeded. + * @return true The operation succeeded. * @return false The queue was empty or someone else was trying to pop a value at the same time. */ bool try_pop(T& value) @@ -136,7 +136,7 @@ template class DynamicCircularQueue * be called once to set the initial size of the queue and that's it. * * @param size The amount of elements to make space for. - * @return Result Whether the operation succeded. + * @return Result Whether the operation succeeded. */ Result set_size(usize size) { @@ -150,7 +150,7 @@ template class DynamicCircularQueue * @brief Push a value onto the queue. * * @param value The value to push. - * @return true The operation succeded. + * @return true The operation succeeded. * @return false The queue was full or someone else was trying to push a value at the same time. */ bool try_push(const T& value) @@ -176,7 +176,7 @@ template class DynamicCircularQueue * @brief Pop a value from the queue. * * @param value The variable to store the value into. - * @return true The operation succeded. + * @return true The operation succeeded. * @return false The queue was empty or someone else was trying to pop a value at the same time. */ bool try_pop(T& value) diff --git a/libos/include/os/Security.h b/libos/include/os/Security.h index 79ea81b7..bef5d733 100644 --- a/libos/include/os/Security.h +++ b/libos/include/os/Security.h @@ -41,7 +41,7 @@ namespace os * _exit(2). If NULL, the promises are not changed. * @param execpromises The promises to apply on the next call to execve(2), separated by spaces. If empty, the * process may only call _exit(2). If NULL, the execpromises are not changed. - * @return Result Whether the operation succeded. + * @return Result Whether the operation succeeded. */ Result pledge(const char* promises, const char* execpromises); }