Small cleanup.

Replaced SYS_MAX_OS_NAME_LEN with B_OS_NAME_LENGTH.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6677 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-02-23 03:14:49 +00:00
parent 166515d663
commit 2e6b261697

View File

@ -6,12 +6,11 @@
#define KERNEL_USER_RUNTIME_H_
#include <image.h>
#include <defines.h>
#include <OS.h>
#define MAGIC_APP_NAME "_APP_"
struct rld_export
{
struct rld_export {
// runtime linker API export
image_id (*load_add_on)(char const *path, uint32 flags);
status_t (*unload_add_on)(image_id imageID);
@ -21,10 +20,9 @@ struct rld_export
int32 *nameLength, int32 *symbolType, void **_location);
};
struct uspace_program_args
{
char program_name[SYS_MAX_OS_NAME_LEN];
char program_path[SYS_MAX_PATH_LEN];
struct uspace_program_args {
char program_name[B_OS_NAME_LENGTH];
char program_path[B_PATH_NAME_LENGTH];
int argc;
int envc;
char **argv;
@ -38,7 +36,4 @@ struct uspace_program_args
typedef void (libinit_f)(unsigned, struct uspace_program_args const *);
//void INIT_BEFORE_CTORS(unsigned, struct uspace_prog_args const *);
//void INIT_AFTER_CTORS(unsigned, struct uspace_prog_args const *);
#endif /* KERNEL_USER_RUNTIME_H_ */