[Top][All Lists]

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

[lwip-devel] [patch #10156] redefine many vars as "static"

From: Florian La Roche
Subject: [lwip-devel] [patch #10156] redefine many vars as "static"
Date: Tue, 7 Dec 2021 03:16:43 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36


                 Summary: redefine many vars as "static"
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: flaroche
            Submitted on: Tue 07 Dec 2021 08:16:41 AM UTC
                Category: None
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



The static code checker "sparse" flags vars that are not
defined in public headers as candidates to be "static".
I am no expert for lwip, but I think they can indeed all be
marked static and should not be accessed from outside and
added to header files.

best regards and thanks for lwip,

Florian La Roche


File Attachments:

Date: Tue 07 Dec 2021 08:16:41 AM UTC  Name: lwip-static.patch  Size: 6KiB  
By: flaroche



Reply to this item at:


  Message sent via Savannah

reply via email to

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