summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h
index 4fabe0e..7e3cdd3 100644
--- a/src/kernel/proc.h
+++ b/src/kernel/proc.h
@@ -55,7 +55,7 @@ struct process {
struct vfs_mount *mount;
- struct handle handles[HANDLE_MAX];
+ struct handle *handles[HANDLE_MAX];
};
extern struct process *process_first;
@@ -75,7 +75,7 @@ struct process *process_next(struct process *);
struct process *process_find(enum process_state);
size_t process_find_multiple(enum process_state, struct process **buf, size_t max);
-handle_t process_find_handle(struct process *proc); // finds the first free handle
+handle_t process_find_handle(struct process *proc, handle_t start_at); // finds the first free handle
void process_transition(struct process *, enum process_state);