summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 16:08:59 +0200
committerVolker Lendecke <vl@samba.org>2010-07-04 16:41:14 +0200
commiteb50f77154e23b9dc231926d5a0af07dd7761bc4 (patch)
tree2caac2c583b8f9c6ef4eb1f5f9f5819de37d8ac5 /source3
parentb01958b0bdb1a7115b82fc7029d8ffe630614cff (diff)
downloadsamba-eb50f77154e23b9dc231926d5a0af07dd7761bc4.tar.gz
samba-eb50f77154e23b9dc231926d5a0af07dd7761bc4.tar.bz2
samba-eb50f77154e23b9dc231926d5a0af07dd7761bc4.zip
s3: Fix some nested extern warnings
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) {