From 3593a823ca0dd92bbe58aa3464d8a371f6f35e70 Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Fri, 2 Sep 2011 12:07:01 +0100 Subject: Changed gcc options to -std=c99 and -O2, and tighted warnings. Some small changes to accomodate same. --- lib/qpath.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/qpath.h') 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 ; -- cgit v1.2.3