From 9966d06283e6bad4a267b4636737ec5bbab9edf5 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Mon, 20 Dec 2010 13:51:02 -0800 Subject: make output-related functions static --- src/cstore/cstore.hpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src') 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& 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_ */ -- cgit v1.2.3