Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: third_party/getopt/getopt.c

Issue 1128893004: Copy copyright to header of .h and .c for checklicenses (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fix short name Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/getopt/getopt.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*
2 Copyright (C) 1997 Gregory Pietsch
3
4 [These files] are hereby placed in the public domain without restrictions. Just
5 give the author credit, don't claim you wrote it or prevent anyone else from
6 using it.
7 */
8
1 /**************************************************************************** 9 /****************************************************************************
2 10
3 getopt.c - Read command line options 11 getopt.c - Read command line options
4 12
5 AUTHOR: Gregory Pietsch 13 AUTHOR: Gregory Pietsch
6 CREATED Fri Jan 10 21:13:05 1997 14 CREATED Fri Jan 10 21:13:05 1997
7 15
8 DESCRIPTION: 16 DESCRIPTION:
9 17
10 The getopt() function parses the command line arguments. Its arguments argc 18 The getopt() function parses the command line arguments. Its arguments argc
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 } 409 }
402 410
403 int 411 int
404 getopt_long_only (int argc, char **argv, const char *shortopts, 412 getopt_long_only (int argc, char **argv, const char *shortopts,
405 const GETOPT_LONG_OPTION_T * longopts, int *longind) 413 const GETOPT_LONG_OPTION_T * longopts, int *longind)
406 { 414 {
407 return getopt_internal (argc, argv, (char*)shortopts, (GETOPT_LONG_OPTION_T*)l ongopts, longind, 1); 415 return getopt_internal (argc, argv, (char*)shortopts, (GETOPT_LONG_OPTION_T*)l ongopts, longind, 1);
408 } 416 }
409 417
410 /* end of file GETOPT.C */ 418 /* end of file GETOPT.C */
OLDNEW
« no previous file with comments | « third_party/getopt/getopt.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698