Diff for /embedaddon/libnet/src/libnet_link_none.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2013/07/22 11:54:42 version 1.1.1.3, 2023/09/27 11:11:38
Line 16 Line 16
  * distributions including binary code include the above copyright notice and   * distributions including binary code include the above copyright notice and
  * this paragraph in its entirety in the documentation or other materials   * this paragraph in its entirety in the documentation or other materials
  * provided with the distribution, and (3) all advertising materials mentioning   * provided with the distribution, and (3) all advertising materials mentioning
 * features or use of this software display the following acknowledgement: * features or use of this software display the following acknowledgment:
  * ``This product includes software developed by the University of California,   * ``This product includes software developed by the University of California,
  * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of   * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
  * the University nor the names of its contributors may be used to endorse   * the University nor the names of its contributors may be used to endorse
Line 27 Line 27
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.   * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */   */
   
#if (HAVE_CONFIG_H)#include "common.h"
#include "../include/config.h" 
#endif  
#if (!(_WIN32) || (__CYGWIN__))  
#include "../include/libnet.h" 
#else 
#include "../include/win32/libnet.h" 
#endif 
   
 static void nosupport(libnet_t* l)  static void nosupport(libnet_t* l)
 {  {
     snprintf(l->err_buf, LIBNET_ERRBUF_SIZE,      snprintf(l->err_buf, LIBNET_ERRBUF_SIZE,
            "%s(): no link support on this platform\n", __func__);            "%s(): no link support on this platform", __func__);
 }  }
   
 int  int
Line 73  libnet_get_hwaddr(libnet_t *l) Line 66  libnet_get_hwaddr(libnet_t *l)
     return NULL;      return NULL;
 }  }
   
   /**
    * Local Variables:
    *  indent-tabs-mode: nil
    *  c-file-style: "stroustrup"
    * End:
    */

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>