don't use FALSE/TRUE: C99 has stdbool.h, use it.
authorx2000habouzit <x2000habouzit@9869982d-c50d-0410-be91-f2a2ec7c7c7b>
Thu, 22 Feb 2007 12:53:19 +0000 (12:53 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 4 Jan 2008 23:35:30 +0000 (00:35 +0100)
commit210909010c558fe6da5f3b8b14a334d1de45a4c7
treed223afb4b1029b8daa5b8f25e57545301c7d207f
parent02ad273d0c807bb15eea25547c7d06507deb6cd2
don't use FALSE/TRUE: C99 has stdbool.h, use it.
use "slightly" more paranoid compilation flags to avoid more errors.

The makefile may need some tweaks to detect if $(CC) is gcc and if it's a
recent enough version.

fix compilation warnings:
 * missing static
 * #if 0 an unused function
 * add missing const.
 * add missing casts.

use <getopt.h> rather than custom definitions.

 Makefile      |    2 -
 mbox-helper.c |   83 +++++++++++++++++++++++++---------------------------------
 2 files changed, 38 insertions(+), 47 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@210 9869982d-c50d-0410-be91-f2a2ec7c7c7b
mbox-helper/Makefile
mbox-helper/mbox-helper.c