Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 4011fa0 in mainline for uspace/srv/net/netstart/self_test.h


Ignore:
Timestamp:
2010-03-31T13:32:38Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
85c2a4b
Parents:
7553689
Message:

cleanup netstart, update to HelenOS coding style, run self-tests when -s argument is used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/netstart/self_test.h

    r7553689 r4011fa0  
    2828
    2929/** @addtogroup net
    30  *  @{
    31  */
    32 
    33 /** @file
    34  *  Self tests.
    35  *  @see configuration.h
     30 * @{
    3631 */
    3732
     
    3934#define __SELF_TEST_H__
    4035
    41 #include "configuration.h"
    42 
    43 /** Self test start function.
    44  *  Runs all the configured self tests.
    45  *  @see configuration.h
    46  *  @returns EOK on success.
    47  *  @returns The first error occurred.
    48  */
    49 #if NET_SELF_TEST
    50 
    5136extern int self_test(void);
    52 
    53 #else
    54 
    55 #include <errno.h>
    56 
    57 #define self_test()     EOK
    58 
    59 #endif
    6037
    6138#endif
Note: See TracChangeset for help on using the changeset viewer.