Changeset 7c3fb9b in mainline for uspace/lib/c/generic/getopt.c


Ignore:
Timestamp:
2018-05-17T08:29:01Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/getopt.c

    rfac0ac7 r7c3fb9b  
    11/*      $NetBSD: getopt_long.c,v 1.21.4.1 2008/01/09 01:34:14 matt Exp $        */
    22
    3 /*-
     3/*
    44 * Copyright (c) 2000 The NetBSD Foundation, Inc.
    55 * All rights reserved.
     
    4141#include <str.h>
    4242
    43 /* HelenOS Port : We're incorporating only the modern getopt_long with wrappers
     43/*
     44 * HelenOS Port : We're incorporating only the modern getopt_long with wrappers
    4445 * to keep legacy getopt() usage from breaking. All references to REPLACE_GETOPT
    45  * are dropped, we just include the code */
     46 * are dropped, we just include the code
     47 */
    4648
    4749int     opterr = 1;             /* if error message should be printed */
     
    8183/* Error messages */
    8284
    83 /* HelenOS Port: Calls to warnx() were eliminated (as we have no stderr that
     85/*
     86 * HelenOS Port: Calls to warnx() were eliminated (as we have no stderr that
    8487 * may be redirected) and replaced with printf. As such, error messages now
    85  * end in a newline */
     88 * end in a newline
     89 */
    8690
    8791static const char recargchar[] = "option requires an argument -- %c\n";
Note: See TracChangeset for help on using the changeset viewer.