Changeset 38c0a9c in mainline


Ignore:
Timestamp:
2010-11-02T22:40:20Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ef4b112
Parents:
065d2d5
Message:

Cleanup netstart.
Remove self_test.[ch].

Location:
uspace/srv/net/netstart
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/netstart/Makefile

    r065d2d5 r38c0a9c  
    3535
    3636SOURCES = \
    37         netstart.c \
    38         self_test.c
     37        netstart.c
    3938
    4039include $(USPACE_PREFIX)/Makefile.common
  • uspace/srv/net/netstart/netstart.c

    r065d2d5 r38c0a9c  
    3232
    3333/** @file
    34  *
    3534 * Start the networking subsystem.
    36  * Perform networking self-test if executed
    37  * with the -s argument.
    38  *
    3935 */
    4036
     
    5248#include <net/modules.h>
    5349
    54 #include "self_test.h"
    55 
    5650/** Start a module.
    5751 *
    58  * @param[in] desc The module description
    59  * @param[in] path The module absolute path.
    60  *
    61  * @returns true on succesful spanwning
    62  * @returns false on failure
    63  *
     52 * @param[in] desc      The module description
     53 * @param[in] path      The module absolute path.
     54 * @returns             True on succesful spanwning.
     55 * @returns             False on failure
    6456 */
    6557static bool spawn(const char *desc, const char *path)
     
    8678        ERROR_DECLARE;
    8779       
    88         /* Run self-tests */
    89         if ((argc > 1) && (str_cmp(argv[1], "-s") == 0))
    90                 ERROR_PROPAGATE(self_test());
    91        
    9280        if (!spawn("networking service", "/srv/net"))
    9381                return EINVAL;
Note: See TracChangeset for help on using the changeset viewer.