[haiku-commits] Re: r37517 - in haiku/trunk: headers/os/locale src/kits/locale src/preferences/time

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 14 Jul 2010 19:24:26 +0200

pulkomandy@xxxxxxxxxxxxxxxxx wrote:
> +typedef enum {
> +     B_INVALID = B_BAD_DATA,
> +     B_AM_PM = 0,
> +     B_HOUR,
> +     B_MINUTE,
> +     B_SECOND
> +} BDateField;

Enums are part of the global namespace, so they should be more concrete 
than this to distinguish them from others, like adding B_DATE_FIELD_ 
prefix.

Bye,
   Axel.


Other related posts: