Changeset 49d819b4 in mainline for uspace/app


Ignore:
Timestamp:
2010-11-02T23:15:18Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7ae3d6f
Parents:
e06ef614 (diff), d0d1f4f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from lp:~jakub/helenos/net.

Location:
uspace/app/netstart
Files:
4 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/netstart/Makefile

    re06ef614 r49d819b4  
    2828#
    2929
    30 USPACE_PREFIX = ../../..
     30USPACE_PREFIX = ../..
    3131LIBS = $(LIBNET_PREFIX)/libnet.a
    3232EXTRA_CFLAGS = -I$(LIBNET_PREFIX)/include
     
    3535
    3636SOURCES = \
    37         netstart.c \
    38         self_test.c
     37        netstart.c
    3938
    4039include $(USPACE_PREFIX)/Makefile.common
  • uspace/app/netstart/netstart.c

    re06ef614 r49d819b4  
    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.