Move usage specific functions into their own source file

This commit is contained in:
jsteube
2016-09-06 14:11:03 +02:00
parent 21666f77b7
commit 0a5759ef1c
5 changed files with 8 additions and 432 deletions
+1
View File
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
#define CHARSIZ 0x100
+1 -6
View File
@@ -84,9 +84,6 @@ static inline int CPU_ISSET (int num, cpu_set_t *cs) { return (cs->count & (1 <
extern const uint VERSION_BIN;
extern const uint RESTORE_MIN;
extern const char *USAGE_MINI[];
extern const char *USAGE_BIG[];
extern const char *PROMPT;
extern hc_thread_mutex_t mux_display;
@@ -132,6 +129,7 @@ char *get_exec_path (void);
char *get_install_dir (const char *progname);
char *get_profile_dir (const char *homedir);
char *get_session_dir (const char *profile_dir);
uint count_lines (FILE *fd);
void *rulefind (const void *key, void *base, int nmemb, size_t size, int (*compar) (const void *, const void *));
@@ -211,9 +209,6 @@ void myquit (void);
void set_cpu_affinity (char *cpu_affinity);
void usage_mini_print (const char *progname);
void usage_big_print (const char *progname);
void tuning_db_destroy (tuning_db_t *tuning_db);
tuning_db_t *tuning_db_alloc (FILE *fp);
tuning_db_t *tuning_db_init (const char *tuning_db_file);