spoon

set dwm status
git clone git://git.2f30.org/spoon
Log | Files | Refs | LICENSE

stub.c (1076B)


      1 #include <stddef.h>
      2 
      3 #pragma weak battread
      4 int
      5 battread(void *arg, char *buf, size_t len)
      6 {
      7 	return -1;
      8 }
      9 
     10 #pragma weak cpuread
     11 int
     12 cpuread(void *arg, char *buf, size_t len)
     13 {
     14 	return -1;
     15 }
     16 
     17 #pragma weak mixread
     18 int
     19 mixread(void *arg, char *buf, size_t len)
     20 {
     21 	return -1;
     22 }
     23 
     24 #pragma weak mpdread
     25 int
     26 mpdread(void *arg, char *buf, size_t len)
     27 {
     28 	return -1;
     29 }
     30 
     31 #pragma weak tempread
     32 int
     33 tempread(void *arg, char *buf, size_t len)
     34 {
     35 	return -1;
     36 }
     37 
     38 #pragma weak wifiread
     39 int
     40 wifiread(void *arg, char *buf, size_t len)
     41 {
     42 	return -1;
     43 }
     44 
     45 #pragma weak xkblayoutread
     46 int
     47 xkblayoutread(void *arg, char *buf, size_t len)
     48 {
     49 	return -1;
     50 }
     51 
     52 #pragma weak fileread
     53 int
     54 fileread(void *arg, char *buf, size_t len)
     55 {
     56 	return -1;
     57 }
     58 
     59 #pragma weak keyread
     60 int
     61 keyread(void *arg, char *buf, size_t len)
     62 {
     63 	return -1;
     64 }
     65 
     66 #pragma weak netspeedread
     67 int
     68 netspeedread(void *arg, char *buf, size_t len)
     69 {
     70 	return -1;
     71 }
     72 
     73 #pragma weak brightnessread
     74 int
     75 brightnessread(void *arg, char *buf, size_t len)
     76 {
     77 	return -1;
     78 }
     79 
     80 #pragma weak countread
     81 int
     82 countread(void *arg, char *buf, size_t len)
     83 {
     84 	return -1;
     85 }