summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-12-20 13:51:02 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2010-12-20 13:51:02 -0800
commit9966d06283e6bad4a267b4636737ec5bbab9edf5 (patch)
treef0d46da108780f762785a472074bd16de1986ed4
parent78842739ff762647c51f696f10a7431ab7e72184 (diff)
downloadvyatta-cfg-9966d06283e6bad4a267b4636737ec5bbab9edf5.tar.gz
vyatta-cfg-9966d06283e6bad4a267b4636737ec5bbab9edf5.zip
make output-related functions static
-rw-r--r--src/cstore/cstore.hpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/cstore/cstore.hpp b/src/cstore/cstore.hpp
index 9a039af..fcee26f 100644
--- a/src/cstore/cstore.hpp
+++ b/src/cstore/cstore.hpp
@@ -300,11 +300,11 @@ public:
protected:
////// functions for subclasses
- void output_user(const char *fmt, ...);
- void output_user_err(const char *fmt, ...);
- void output_internal(const char *fmt, ...);
- void exit_internal(const char *fmt, ...);
- void assert_internal(bool cond, const char *fmt, ...);
+ static void output_user(const char *fmt, ...);
+ static void output_user_err(const char *fmt, ...);
+ static void output_internal(const char *fmt, ...);
+ static void exit_internal(const char *fmt, ...);
+ static void assert_internal(bool cond, const char *fmt, ...);
private:
////// member class
@@ -486,9 +486,10 @@ private:
const vector<string>& vec, const char *quote);
// output functions
- void voutput_user(FILE *out, FILE *dout, const char *fmt, va_list alist);
- void voutput_internal(const char *fmt, va_list alist);
- void vexit_internal(const char *fmt, va_list alist);
+ static void voutput_user(FILE *out, FILE *dout, const char *fmt,
+ va_list alist);
+ static void voutput_internal(const char *fmt, va_list alist);
+ static void vexit_internal(const char *fmt, va_list alist);
};
#endif /* _CSTORE_H_ */