diff options
author | Dan McGee <dan@archlinux.org> | 2012-02-01 23:14:01 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-02-06 05:49:46 -0600 |
commit | f12effc6ff4605ea81b3b765ff1655107aad29d8 (patch) | |
tree | 5267d3a23fa200fa4bf6dc04c8c13db427a9b3c8 /test | |
parent | d8e1c450a3fcdcbd46fd930f2804d0a61087f968 (diff) | |
download | pacman-f12effc6ff4605ea81b3b765ff1655107aad29d8.tar.xz |
alpm.h: enum cleanups, comment formatting cleanup
Don't use trailing commas in enums if people really want to use a strict
C89 compiler, and document why on earth one particular enum uses bitmask
values when it doesn't seem necessary.
With comments, shoot for more consistency. When something is a
one-liner, keep it that way and move the whole /** sequence */ to one
line. When it needs more than one line, ensure we format most of them in
a similar fashion.
Two minor function signature adjustments are made that don't change
anything other than matching the parameter name (name -> filename)
and fitting in with our coding style (type* var -> type *var).
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions