summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/printing.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index b69350496a..93624f0f78 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -1380,11 +1380,12 @@ static void printing_pause_fd_handler(struct tevent_context *ev,
exit_server_cleanly(NULL);
}
+extern struct child_pid *children;
+extern int num_children;
+
static void add_child_pid(pid_t pid)
{
- extern struct child_pid *children;
struct child_pid *child;
- extern int num_children;
child = SMB_MALLOC_P(struct child_pid);
if (child == NULL) {