Get rid of logging.c and most exit() calls replaced with return() for true library usage

This commit is contained in:
jsteube
2016-10-09 22:41:55 +02:00
parent 7ed79bf42e
commit 27bec8be13
57 changed files with 4087 additions and 4228 deletions
-15
View File
@@ -72,19 +72,4 @@ typedef struct hm_xnvctrl_lib
typedef hm_xnvctrl_lib_t XNVCTRL_PTR;
int xnvctrl_init (XNVCTRL_PTR *xnvctrl);
void xnvctrl_close (XNVCTRL_PTR *xnvctrl);
int hm_XNVCTRL_XOpenDisplay (XNVCTRL_PTR *xnvctrl);
void hm_XNVCTRL_XCloseDisplay (XNVCTRL_PTR *xnvctrl);
int get_core_threshold (XNVCTRL_PTR *xnvctrl, int gpu, int *val);
int get_fan_control (XNVCTRL_PTR *xnvctrl, int gpu, int *val);
int set_fan_control (XNVCTRL_PTR *xnvctrl, int gpu, int val);
int get_fan_speed_current (XNVCTRL_PTR *xnvctrl, int gpu, int *val);
int get_fan_speed_target (XNVCTRL_PTR *xnvctrl, int gpu, int *val);
int set_fan_speed_target (XNVCTRL_PTR *xnvctrl, int gpu, int val);
#endif // _EXT_XNVCTRL_H