lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #6480] slipif.c has no #ifdef


From: Iordan Neshev
Subject: [lwip-devel] [patch #6480] slipif.c has no #ifdef
Date: Wed, 26 Mar 2008 14:46:36 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Maxthon; .NET CLR 2.0.50727)

URL:
  <http://savannah.nongnu.org/patch/?6480>

                 Summary: slipif.c has no #ifdef 
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: iordan_neshev
            Submitted on: Wednesday 03/26/08 at 14:46
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Hello

I think that slipif.c should begin with:

#include "netif/slipif.h"
#include "lwip/opt.h"

#if LWIP_HAVE_SLIPIF    <--- this is missing

#include "lwip/def.h"

....

and end with 
#endif /* LWIP_HAVE_SLIPIF */   <-- missing

Of course, this should be added in opt.h:

#ifndef LWIP_HAVE_SLIPIF
#define LWIP_HAVE_SLIPIF 0
#endif 





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6480>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]