buglwIP - A Lightweight TCP/IP stack - Bugs: bug #52638, Make some global variables static...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #52638: Make some global variables static (httpd.c)

Submitted by:  Mike Kleshov <kleshov>
Submitted on:  Mon 11 Dec 2017 08:26:14 AM UTC  
 
Category: appsSeverity: 1 - Wish
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Mon 18 Dec 2017 07:01:57 PM UTC, comment #3:

Pushed with some additional modifications.

Simon Goldschmidt <goldsimon>
Project Administrator
Mon 18 Dec 2017 06:53:18 AM UTC, comment #2:

Sure thing

(file #42669)

Mike Kleshov <kleshov>
Project Member
Sun 17 Dec 2017 09:22:43 PM UTC, comment #1:

I'm with you there. However, I think it would be a good idea to provide a patch that does this ;-)

Simon Goldschmidt <goldsimon>
Project Administrator
Mon 11 Dec 2017 08:26:14 AM UTC, original submission:

Looking at httpd.c, I can see a few global variables. I think it would be a good idea to make them static to reduce global namespace pollution.

Mike Kleshov <kleshov>
Project Member

 

Attached Files
file #42669:  httpd-make-globals-static.patch added by kleshov (8KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by kleshov (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 18 Dec 2017 07:01:57 PM UTCgoldsimonStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 18 Dec 2017 06:53:18 AM UTCkleshovAttached File-=>Added httpd-make-globals-static.patch, #42669
    Mon 11 Dec 2017 08:27:17 AM UTCkleshovSummaryMake some global variables static=>Make some global variables static (httpd.c)

    Back to the top


    Powered by Savane 3.1-cleanup1