1
1

* background.h: Omit definitions that require FileOpContext if

fileopctx.h has not been included yet.
Этот коммит содержится в:
Pavel Roskin 2001-05-14 23:28:29 +00:00
родитель 9ad5b2ac54
Коммит bc5e0cd228
2 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

@ -1,5 +1,8 @@
2001-05-14 Pavel Roskin <proski@gnu.org>
* background.h: Omit definitions that require FileOpContext if
fileopctx.h has not been included yet.
* background.c (real_message_2s): Declare arguments "const" when
possible.
(real_message_3s): Likewise.

Просмотреть файл

@ -36,9 +36,13 @@ extern struct TaskList *task_list;
extern int background_wait;
int do_background (FileOpContext *ctx, char *info);
void tell_parent (int msg);
/* fileopctx.h must be included for FileOpContext to be defined */
#ifdef FILEOPCTX_H
int do_background (FileOpContext *ctx, char *info);
int parent_call (void *routine, FileOpContext *ctx, int argc, ...);
#endif /* FILEOPCTX_H */
void unregister_task_running (pid_t, int fd);