📄 lib.c.rej
字号:
****************** 30,36 **** * * Author: Adam Dunkels <adam@sics.se> *- * $Id: lib.c,v 1.1 2001/12/12 10:00:56 adam Exp $ */ /* These are generic implementations of various library functions used--- 30,36 ---- * * Author: Adam Dunkels <adam@sics.se> *+ * $Id: lib.c,v 1.2 2002/01/09 21:29:22 adam Exp $ */ /* These are generic implementations of various library functions used****************** 47,58 **** return ((n & 0xff) << 8) | ((n & 0xff00) >> 8); } /*-----------------------------------------------------------------------------------*/- u16_t- ntohs(u16_t n)- {- return htons(n);- }- /*-----------------------------------------------------------------------------------*/ u32_t htonl(u32_t n) {--- 47,52 ---- return ((n & 0xff) << 8) | ((n & 0xff00) >> 8); } /*-----------------------------------------------------------------------------------*/ u32_t htonl(u32_t n) {****************** 63,70 **** } /*-----------------------------------------------------------------------------------*/ u32_t- ntohl(u32_t n)- {- return htonl(n);- }- /*-----------------------------------------------------------------------------------*/--- 57,59 ---- } /*-----------------------------------------------------------------------------------*/ u32_t
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -