Adds a listing of all the mountpoints under linux. I used a piece of code from gnulib, but i'm not sure it's a very good idea. It works for me and should be easy to adapt for many other platforms. This may need some tweaking to work also under beos and skyos (and possibly other unix-like), but if not done, the function will be compiled empty and will not harm anyone.
Also, cleans some warnings that occurs with -pedantic -c99 options to gcc, and some little things pointed by splint. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@458 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
2
op_c.h
2
op_c.h
@@ -158,7 +158,7 @@ void HSLtoRGB(byte h, byte s, byte l, byte* r, byte* g, byte* b);
|
||||
void TO_Init(Table_occurence * t);
|
||||
Table_occurence * TO_New(int nbb_r,int nbb_v,int nbb_b);
|
||||
void TO_Delete(Table_occurence * t);
|
||||
inline int TO_Get(Table_occurence * t,int r,int v,int b);
|
||||
int TO_Get(Table_occurence * t,int r,int v,int b);
|
||||
void TO_Set(Table_occurence * t,int r,int v,int b,int i);
|
||||
void TO_Inc(Table_occurence * t,int r,int v,int b);
|
||||
void TO_Compter_occurences(Table_occurence * t,Bitmap24B image,int taille);
|
||||
|
||||
Reference in New Issue
Block a user