This commit is contained in:
jsteube
2016-09-07 12:45:08 +02:00
parent e13419a1b2
commit f9e1329ca9
5 changed files with 665 additions and 663 deletions
+6
View File
@@ -6,6 +6,8 @@
*/
#include <stdio.h>
#include <errno.h>
#include <dirent.h>
#include <unistd.h>
#ifdef _POSIX
@@ -26,3 +28,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);
int count_dictionaries (char **dictionary_files);
char **scan_directory (const char *path);
-6
View File
@@ -10,7 +10,6 @@
#define _SHARED_H
#include <errno.h>
#include <dirent.h>
#include <time.h>
#include <unistd.h>
#include <signal.h>
@@ -21,9 +20,6 @@
*/
#ifdef _POSIX
//#include <pthread.h>
//#include <dlfcn.h>
//#include <limits.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/sysctl.h>
@@ -162,8 +158,6 @@ u64 mydivc64 (const u64 dividend, const u64 divisor);
void format_speed_display (double val, char *buf, size_t len);
void format_timer_display (struct tm *tm, char *buf, size_t len);
char **scan_directory (const char *path);
int count_dictionaries (char **dictionary_files);
char *stroptitype (const uint opti_type);
char *strstatus (const uint threads_status);