lib.c.rej

来自「lwIP-Softools-11Jul2002-alpha」· REJ 代码 · 共 53 行

REJ
53
字号
****************** 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 + =
减小字号Ctrl + -
显示快捷键?