~davewalker/ubuntu/maverick/asterisk/lp_705014

« back to all changes in this revision

Viewing changes to image.c

  • Committer: Bazaar Package Importer
  • Author(s): Kilian Krause
  • Date: 2005-03-09 22:09:05 UTC
  • mto: (1.2.1 upstream) (8.2.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050309220905-9afy6hcpw96xbr6j
Tags: upstream-1.0.6
ImportĀ upstreamĀ versionĀ 1.0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
#include <stdio.h>
15
15
#include <stdlib.h>
16
 
#include <pthread.h>
17
16
#include <string.h>
18
17
#include <sys/time.h>
19
18
#include <sys/stat.h>
29
28
#include <asterisk/image.h>
30
29
#include <asterisk/translate.h>
31
30
#include <asterisk/cli.h>
 
31
#include <asterisk/lock.h>
32
32
#include "asterisk.h"
33
33
#include "astconf.h"
34
34
 
35
35
static struct ast_imager *list;
36
 
static ast_mutex_t listlock = AST_MUTEX_INITIALIZER;
 
36
AST_MUTEX_DEFINE_STATIC(listlock);
37
37
 
38
38
int ast_image_register(struct ast_imager *img)
39
39
{