Commit Graph

6135 Commits

Author SHA1 Message Date
Roland Illig
207f7d126c Even more const-ification. 2004-08-17 00:00:32 +00:00
Roland Illig
5c74367969 Added more const-ness to variables. 2004-08-16 23:48:46 +00:00
Roland Illig
1105b8e941 Splittet the vfs.h header into a user's part (vfs.h) and an implementor's part (vfs-impl.h). 2004-08-16 23:25:49 +00:00
Roland Illig
34a8088483 Splittet the vfs.h header into a user's part (vfs.h) and an implementor's part (vfs-impl.h). 2004-08-16 23:18:42 +00:00
Roland Illig
3cf53917e1 Const-ified the mc_* functions. 2004-08-16 22:40:31 +00:00
Roland Illig
b17b1ac213 Const-ified the rest of the vfs_class methods. 2004-08-16 22:15:28 +00:00
Roland Illig
e0bf99d516 Made the path argument to vfs->{chmod,chown,utime} constant. 2004-08-16 21:36:39 +00:00
Roland Illig
dc70d154db Made the buf argument to vfs->write constant. 2004-08-16 21:16:54 +00:00
Roland Illig
789e5e9bcb Made the path argument to vfs->[l]stat constant. Created a new memory leak, which will be fixed soon. 2004-08-16 20:26:42 +00:00
Roland Illig
b472c18c79 Made the patch argument to vfs->which const. 2004-08-16 19:47:21 +00:00
Roland Illig
9d41314d09 Added more const-ness to print_vfs_message. 2004-08-16 18:31:30 +00:00
Roland Illig
a22afa7a72 Added more const-ness to variables. 2004-08-16 18:31:05 +00:00
Roland Illig
9dfb30636e Compacted and commented the code in do_try_to_select. 2004-08-16 18:30:34 +00:00
Roland Illig
511c710fe6 Added explicit initializers for global variables. 2004-08-16 18:25:16 +00:00
Roland Illig
2c77aa7e1c Documented x_basename and added const. 2004-08-16 18:19:37 +00:00
Roland Illig
3dcf497216 Added more const-ness to variables. 2004-08-16 17:53:07 +00:00
Roland Illig
640f3a163c Added more const-ness to variables and functions. 2004-08-16 17:49:57 +00:00
Roland Illig
29010bfdd1 Removed explicit loop unrolling in xx_strchr as that is the job of the compiler. 2004-08-16 17:48:38 +00:00
Roland Illig
2399a1604f Removed unnecessary type cast. 2004-08-16 17:45:59 +00:00
Roland Illig
493febff35 Added more const-ness to a variable. 2004-08-16 17:45:38 +00:00
Roland Illig
13e298c2ea Replaced (char *) 0 by NULL. 2004-08-16 17:44:14 +00:00
Roland Illig
b2605e09e9 Code cleanup concerning PAUSE_OPTIONS. 2004-08-16 17:43:36 +00:00
Roland Illig
d003fcb1e0 Use memmove instead of memcpy for overlapping objects. 2004-08-16 17:42:47 +00:00
Roland Illig
a50890b1a4 Added missing function prototypes. Added const-ness. Fixed an "empty-then-clause" bug. 2004-08-16 16:59:43 +00:00
Roland Illig
c5694db1ad Replaced "-1" by INADDR_NONE. 2004-08-16 16:58:18 +00:00
Roland Illig
1a62b0a598 Added explicit type casting and replaced "-1" by INADDR_NONE. 2004-08-16 16:58:00 +00:00
Roland Illig
db3f21b702 Added a typedef for a function. Added more const-ness to the function arguments. 2004-08-16 16:34:11 +00:00
Roland Illig
748279de99 Added more const-ness to the function arguments. 2004-08-16 16:22:35 +00:00
Roland Illig
bfb2047463 Removed unnecessary type cast. 2004-08-16 16:22:14 +00:00
Roland Illig
8aeea3256f Added more const-ness to the function arguments. 2004-08-16 15:45:05 +00:00
Roland Illig
5d44086ccc Added a C++ like const_cast macro. 2004-08-16 15:42:48 +00:00
Roland Illig
a0616a76be mc_ungetlocalcopy does not free its second argument anymore. 2004-08-16 15:18:18 +00:00
Roland Illig
f17c1f291c mc_ungetlocalcopy does not free its second argument anymore. 2004-08-16 15:18:17 +00:00
Roland Illig
8e36bb7fe0 Marked the places where the arguments should be passed as "const". 2004-08-16 09:37:00 +00:00
Roland Illig
f4129bc22b Fixed a format string bug (%s => %d). 2004-08-16 05:17:49 +00:00
Roland Illig
60ae60fb1e Print the pid as an int. 2004-08-16 04:57:07 +00:00
Roland Illig
6bd6aa7b50 Made output of the st_mode system independent. 2004-08-16 04:56:19 +00:00
Roland Illig
d1b57fbf7f Avoid compiler warning using gcc/Solaris8. 2004-08-16 04:49:08 +00:00
Roland Illig
6d483846cb Added a type cast to avoid GCC warnings. 2004-08-16 04:27:25 +00:00
Roland Illig
a998d33f7c Made the implicit conversions explicit to prevent "hidden" bugs. 2004-08-16 04:26:46 +00:00
Roland Illig
c673ebfc89 Made an integer literal compatible to the variable it is compared with. 2004-08-16 04:25:41 +00:00
Roland Illig
7adbbafc6a Made the data type of some variables more appropriate. 2004-08-16 04:25:06 +00:00
Roland Illig
bdd1d219a3 Created a new type (tree_key_map) for functions that act on a tree. 2004-08-16 04:24:45 +00:00
Roland Illig
a91c5b9ad2 Created a new type (panel_key_map) and wrote some wrapper functions where the parameters didn't match. Adjusted the type of some variables. 2004-08-16 04:24:04 +00:00
Roland Illig
e0ea1733e3 The type key_callback has got a real prototype. 2004-08-16 04:20:56 +00:00
Roland Illig
b08778c9c6 Made the data type of some variables more appropriate. 2004-08-16 04:17:43 +00:00
Roland Illig
e0512c10dc Invented two new data types (offset_type and screen_dimen) and adjusted the type of many variables. 2004-08-16 04:16:55 +00:00
Roland Illig
4afb6e832d Added a prototype to the function declaration. 2004-08-16 03:24:49 +00:00
Roland Illig
0784d2a7b7 Added type casts where necessary to avoid the "signed-unsigned-comparison" warning. 2004-08-16 03:14:04 +00:00
Roland Illig
6cefb6d3bb Made the data type of some variables more appropriate. 2004-08-16 03:12:05 +00:00