diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 1999-12-16 13:44:30 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 1999-12-16 13:44:30 +0000 |
commit | 509765aef52f3ce306a114832ab885ad85522d2e (patch) | |
tree | 900d9952178c438c1347376241e306e457817f58 /include | |
parent | 70f08a7afb001c7c1608181fa4546c6460890e04 (diff) |
Version 0.1.1 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@139 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/channel_pvt.h | 6 | ||||
-rwxr-xr-x | include/asterisk/io.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/asterisk/channel_pvt.h b/include/asterisk/channel_pvt.h index 6628e9d5f..bd75102e5 100755 --- a/include/asterisk/channel_pvt.h +++ b/include/asterisk/channel_pvt.h @@ -3,7 +3,7 @@ * * Private channel definitions for channel implementations only. * - * Copyright (C) 1999, Adtran Inc. and Linux Support Services, LLC + * Copyright (C) 1999, Mark Spencer * * Mark Spencer <markster@linux-support.net> * @@ -40,8 +40,8 @@ struct ast_channel_pvt { }; /* Create a channel structure */ -struct ast_channel *ast_channel_alloc(); -#define ast_channel_free(a) free(a) +struct ast_channel *ast_channel_alloc(void); +void ast_channel_free(struct ast_channel *); #if defined(__cplusplus) || defined(c_plusplus) } diff --git a/include/asterisk/io.h b/include/asterisk/io.h index 64d039a51..82060c20d 100755 --- a/include/asterisk/io.h +++ b/include/asterisk/io.h @@ -3,7 +3,7 @@ * * Mark Spencer <markster@marko.net> * - * Copyright(C) 1999, Adtran, Inc. + * Copyright(C) Mark Spencer * * Distributed under the terms of the GNU General Public License (GPL) Version 2 * @@ -38,10 +38,10 @@ extern "C" { struct io_context; /* Create a context for I/O operations */ -struct io_context *io_context_create(); +extern struct io_context *io_context_create(void); /* Destroy a context for I/O operations */ -void io_context_destroy(struct io_context *ioc); +extern void io_context_destroy(struct io_context *ioc); typedef int (*ast_io_cb)(int *id, int fd, short events, void *cbdata); #define AST_IO_CB(a) ((ast_io_cb)(a)) |