mirror of https://github.com/BOINC/boinc.git
Remove unused function definitions
This commit is contained in:
parent
dca4153b3f
commit
0f2b95b146
|
@ -233,8 +233,6 @@ typedef struct GRAPHICS_INFO GRAPHICS_INFO;
|
|||
|
||||
int write_init_data_file(FILE* f, APP_INIT_DATA&);
|
||||
int parse_init_data_file(FILE* f, APP_INIT_DATA&);
|
||||
int write_graphics_file(FILE* f, GRAPHICS_INFO* gi);
|
||||
int parse_graphics_file(FILE* f, GRAPHICS_INFO* gi);
|
||||
|
||||
// filenames used in the slot directory
|
||||
//
|
||||
|
@ -251,7 +249,6 @@ int parse_graphics_file(FILE* f, GRAPHICS_INFO* gi);
|
|||
// other filenames
|
||||
#define PROJECT_DIR "projects"
|
||||
|
||||
extern int boinc_link(const char* phys_name, const char* logical_name);
|
||||
extern int boinc_resolve_filename_s(const char*, std::string&);
|
||||
extern std::string resolve_soft_link(const char* project_dir, const char* file);
|
||||
extern void url_to_project_dir(char* url, char* dir, int dirsize);
|
||||
|
|
|
@ -334,7 +334,6 @@ struct TIME_STATS {
|
|||
double total_gpu_active_duration;
|
||||
// time GPU computation allowed
|
||||
|
||||
void write(MIOFILE&);
|
||||
int parse(XML_PARSER&);
|
||||
void print();
|
||||
TIME_STATS() {
|
||||
|
|
|
@ -494,7 +494,6 @@ struct NOTICES {
|
|||
|
||||
NOTICES();
|
||||
|
||||
void print();
|
||||
void clear();
|
||||
};
|
||||
|
||||
|
@ -732,7 +731,6 @@ struct RPC_CLIENT {
|
|||
int get_statistics(PROJECTS&);
|
||||
int network_available();
|
||||
int get_project_init_status(PROJECT_INIT_STATUS& pis);
|
||||
int report_device_status(DEVICE_STATUS&);
|
||||
|
||||
// the following are asynch operations.
|
||||
// Make the first call to start the op,
|
||||
|
|
|
@ -123,9 +123,6 @@ struct WEEK_PREFS {
|
|||
void set(int day, double start, double end);
|
||||
void set(int day, TIME_SPAN* time);
|
||||
void unset(int day);
|
||||
|
||||
protected:
|
||||
void copy(const WEEK_PREFS& original);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ extern void strcpy_overlap(char*, const char*);
|
|||
extern int ndays_to_string(double x, int smallest_timescale, char *buf);
|
||||
extern void nbytes_to_string(double nbytes, double total_bytes, char* str, int len);
|
||||
extern int parse_command_line(char*, char**);
|
||||
extern void c2x(char *what);
|
||||
extern void strip_whitespace(char *str);
|
||||
extern void strip_whitespace(std::string&);
|
||||
extern void strip_quotes(char *str);
|
||||
|
|
|
@ -39,7 +39,6 @@ extern void unescape_url(std::string& url);
|
|||
extern void unescape_url(char *url, int len);
|
||||
extern void escape_url(std::string& url);
|
||||
extern void escape_url(const char *in, char*out, int out_size);
|
||||
extern void escape_url_unsage(char *in, char *out);
|
||||
extern void escape_url_readable(char* in, char* out);
|
||||
extern void escape_project_url(char *in, char* out);
|
||||
extern bool valid_master_url(char*);
|
||||
|
|
Loading…
Reference in New Issue