summaryrefslogtreecommitdiffstats
path: root/lib/qpath.h
diff options
context:
space:
mode:
authorChris Hall <chris.hall@highwayman.com>2011-09-02 12:07:01 +0100
committerChris Hall <chris.hall@highwayman.com>2011-09-02 12:07:01 +0100
commit3593a823ca0dd92bbe58aa3464d8a371f6f35e70 (patch)
tree933eadc60f5c9e16dc5d9bf6b3762870a11d1a81 /lib/qpath.h
parent3690074a486cfada568975e287d9cbb9e687501f (diff)
downloadquagga-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/qpath.h')
-rw-r--r--lib/qpath.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/qpath.h b/lib/qpath.h
index 9b0509d7..dbd6da3a 100644
--- a/lib/qpath.h
+++ b/lib/qpath.h
@@ -75,7 +75,7 @@ Inline qpath qpath_free(qpath qp) ;
Inline const char* qpath_string(qpath qp) ;
Inline char* qpath_char_string(qpath qp) ;
Inline ulen qpath_len(qpath qp) ;
-Inline const qstring qpath_qs(qpath qp) ;
+Inline qstring qpath_qs(qpath qp) ;
extern qpath qpath_set(qpath dst, const char* src) ;
extern qpath qpath_set_n(qpath dst, const char* src, ulen n) ;
@@ -208,7 +208,7 @@ qpath_len(qpath qp)
*
* For a NULL qpath returns NULL qstring.
*/
-Inline const qstring
+Inline qstring
qpath_qs(qpath qp)
{
return (qp != NULL) ? qp->path : NULL ;