Changeset 9ed3e1a in mainline for uspace/lib
- Timestamp:
- 2013-11-12T08:37:39Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a070eff
- Parents:
- 9f9450bb (diff), 34cb6c8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib
- Files:
-
- 5 edited
-
c/generic/rtld/module.c (modified) (4 diffs)
-
c/generic/vfs/vfs.c (modified) (1 diff)
-
c/include/stdio.h (modified) (1 diff)
-
gui/window.c (modified) (1 diff)
-
gui/window.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/rtld/module.c
r9f9450bb r9ed3e1a 93 93 module_t *module_find(const char *name) 94 94 { 95 module_t *m;96 95 const char *p, *soname; 97 96 … … 107 106 108 107 /* Traverse list of all modules. Not extremely fast, but simple */ 109 list_foreach(runtime_env->modules, cur) { 110 DPRINTF("cur = %p\n", cur); 111 m = list_get_instance(cur, module_t, modules_link); 108 list_foreach(runtime_env->modules, modules_link, module_t, m) { 109 DPRINTF("m = %p\n", m); 112 110 if (str_cmp(m->dyn.soname, soname) == 0) { 113 111 return m; /* Found */ … … 245 243 void modules_process_relocs(module_t *start) 246 244 { 247 module_t *m; 248 249 list_foreach(runtime_env->modules, cur) { 250 m = list_get_instance(cur, module_t, modules_link); 251 245 list_foreach(runtime_env->modules, modules_link, module_t, m) { 252 246 /* Skip rtld, since it has already been processed */ 253 247 if (m != &runtime_env->rtld) { … … 261 255 void modules_untag(void) 262 256 { 263 module_t *m; 264 265 list_foreach(runtime_env->modules, cur) { 266 m = list_get_instance(cur, module_t, modules_link); 257 list_foreach(runtime_env->modules, modules_link, module_t, m) { 267 258 m->bfs_tag = false; 268 259 } -
uspace/lib/c/generic/vfs/vfs.c
r9f9450bb r9ed3e1a 742 742 } 743 743 744 int remove(const char *path) 745 { 746 return unlink(path); 747 } 748 744 749 int chdir(const char *path) 745 750 { -
uspace/lib/c/include/stdio.h
r9f9450bb r9ed3e1a 151 151 /* Misc file functions */ 152 152 extern int rename(const char *, const char *); 153 extern int remove(const char *); 153 154 154 155 #endif -
uspace/lib/gui/window.c
r9f9450bb r9ed3e1a 529 529 } 530 530 531 window_t *window_open(c har *winreg, bool is_main, bool is_decorated,531 window_t *window_open(const char *winreg, bool is_main, bool is_decorated, 532 532 const char *caption, sysarg_t x_offset, sysarg_t y_offset) 533 533 { -
uspace/lib/gui/window.h
r9f9450bb r9ed3e1a 66 66 * If the window is declared as main, its closure causes termination of the 67 67 * whole application. Note that opened window does not have any surface yet. */ 68 extern window_t *window_open(char *, bool, bool, const char *, sysarg_t, sysarg_t); 68 extern window_t *window_open(const char *, bool, bool, const char *, sysarg_t, 69 sysarg_t); 69 70 70 71 /**
Note:
See TracChangeset
for help on using the changeset viewer.
