summaryrefslogtreecommitdiff
path: root/lib/psm.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-21 11:10:14 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-21 11:10:14 +0300
commit2fb15a5443c6a1461a53309d3d4ace598996d8b2 (patch)
tree0ff55a624360ff16a554c801be4873164d1bf226 /lib/psm.c
parentb9168b67355d2da8f62f880adfce37c0e38720d1 (diff)
downloadlibrpm-tizen-2fb15a5443c6a1461a53309d3d4ace598996d8b2.tar.gz
librpm-tizen-2fb15a5443c6a1461a53309d3d4ace598996d8b2.tar.bz2
librpm-tizen-2fb15a5443c6a1461a53309d3d4ace598996d8b2.zip
Stop abusing enum typedefs for bitfield types
- Enums are fine for defining the bitfield flags, but the bitfield itself is not an enumeration. Add a separate typedef on "rpmFlags" type (presenting a bitfield of flags) for all of these. Compilers hardly care, but the typedefs give a nice visual clue for us humans using these flags far away from ho^H^H definitions.
Diffstat (limited to 'lib/psm.c')
0 files changed, 0 insertions, 0 deletions