wildmatch: rename constants and update prototype
commit9b3497cab9986883ff2499722f8758795afa34b7
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Tue, 1 Jan 2013 02:44:05 +0000 (1 09:44 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jan 2013 23:32:36 +0000 (1 15:32 -0800)
tree40128a4fcdb34d5dcd0d0a191b9cb69ab602a839
parentb6a3d3353f799c8c5afedb2da4df6e7cdc5d00c9
wildmatch: rename constants and update prototype

- All exported constants now have a prefix WM_
- Do not rely on FNM_* constants, use the WM_ counterparts
- Remove TRUE and FALSE to follow Git's coding style
- While at it, turn flags type from int to unsigned int
- Add an (unused yet) argument to carry extra information
  so that we don't have to change the prototype again later
  when we need to pass other stuff to wildmatch

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c
test-wildmatch.c
wildmatch.c
wildmatch.h