Changeset b31f1c9 for commands.c


Ignore:
Timestamp:
Nov 26, 2010, 4:04:03 AM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
7aa1fa5
Parents:
1dd285b
git-author:
Anders Kaseorg <andersk@mit.edu> (11/06/10 18:40:11)
git-committer:
Anders Kaseorg <andersk@mit.edu> (11/26/10 04:04:03)
Message:
Move declarations before code

I don’t know if we still care about this, but we had few enough
violations that we might as well fix them.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r7473e38b rb31f1c9  
    13301330  const char **tmp_argv = owl_malloc(sizeof(char *) * argc);
    13311331
    1332   for (i = 0; i < argc; i++)
    1333     tmp_argv[i] = argv[i];
    1334 
    13351332  static const struct option options[] = {
    13361333    {"instance", 0, 0, 'i'},
    13371334    {"related",  0, 0, 'r'},
    13381335    {NULL,       0, 0, 0}};
     1336
     1337  for (i = 0; i < argc; i++)
     1338    tmp_argv[i] = argv[i];
    13391339
    13401340  optind = 0;
Note: See TracChangeset for help on using the changeset viewer.