diff options
author | Chris Hall <chris.hall@highwayman.com> | 2011-09-02 12:07:01 +0100 |
---|---|---|
committer | Chris Hall <chris.hall@highwayman.com> | 2011-09-02 12:07:01 +0100 |
commit | 3593a823ca0dd92bbe58aa3464d8a371f6f35e70 (patch) | |
tree | 933eadc60f5c9e16dc5d9bf6b3762870a11d1a81 /lib/errno_names.c | |
parent | 3690074a486cfada568975e287d9cbb9e687501f (diff) | |
download | quagga-3593a823ca0dd92bbe58aa3464d8a371f6f35e70.tar.bz2 quagga-3593a823ca0dd92bbe58aa3464d8a371f6f35e70.tar.xz |
Changed gcc options to -std=c99 and -O2, and tighted warnings.
Some small changes to accomodate same.
Diffstat (limited to 'lib/errno_names.c')
-rw-r--r-- | lib/errno_names.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/errno_names.c b/lib/errno_names.c index 3c1ff23c..be3fda51 100644 --- a/lib/errno_names.c +++ b/lib/errno_names.c @@ -178,7 +178,9 @@ static const char* errno_name_table[] = ERRNO(ECOMM), /* Communication error on send */ #endif #ifdef EDEADLOCK +# ifndef EDEADLK ERRNO(EDEADLOCK), /* same as EDEADLK */ +# endif #endif #ifdef EDOTDOT ERRNO(EDOTDOT), /* RFS specific error */ |