From 4fc309b1dd499ff6c07214997bfee8b651bdc887 Mon Sep 17 00:00:00 2001 From: davidhaas Date: Wed, 12 Feb 2003 16:38:46 +0000 Subject: [PATCH] Made sys_arch_prot() interface more generic by returning sys_prot_t instead of u32_t. --- src/include/lwip/sys.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/sys.h b/src/include/lwip/sys.h index 0aeac0fc..252ece75 100644 --- a/src/include/lwip/sys.h +++ b/src/include/lwip/sys.h @@ -110,8 +110,8 @@ void sys_mbox_fetch(sys_mbox_t mbox, void **msg); In some implementations they can provide a more light-weight protection mechanism than using semaphores. Otherwise semaphores can be used for implementation */ -u32_t sys_arch_protect(void); -void sys_arch_unprotect(u32_t pval); +sys_prot_t sys_arch_protect(void); +void sys_arch_unprotect(sys_prot_t pval); /* Thread functions. */ sys_thread_t sys_thread_new(void (* thread)(void *arg), void *arg);