-
Notifications
You must be signed in to change notification settings - Fork 236
Description
Is your feature request related to a problem? Please describe.
Prototype defined in both cFE and OSAL.
cFE/fsw/cfe-core/unit-test/ut_support.h
Lines 656 to 671 in 983157d
| /*****************************************************************************/ | |
| /** | |
| ** \brief Report and close any sockets found open | |
| ** | |
| ** \par Description | |
| ** Determine if any sockets are open; if so, close them. If UT_VERBOSE | |
| ** is defined then output the socket status to the test log file. | |
| ** | |
| ** \par Assumptions, External Events, and Notes: | |
| ** None | |
| ** | |
| ** \returns | |
| ** This function does not return a value. | |
| ** | |
| ******************************************************************************/ | |
| void UT_CheckForOpenSockets(void); |
Also violation of magic number use in the implementation, and doesn't seem to actually do what it says (I don't see the close).
Describe the solution you'd like
Maybe remove if not useful? If not, at least use the correctly scoped prototype and remove the second definition.
Describe alternatives you've considered
None.
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC
Reactions are currently unavailable