diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-27 00:40:31 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-27 00:40:31 +0000 |
commit | a7fcc27f4b4b0f15ae107e4f69a11a6166e2c9e3 (patch) | |
tree | a530fff75c3c9f276a19d27955ace6f22e106a48 /pjmedia/src | |
parent | 205ff0470c7f02e69dd8542923fb40c0420fe48b (diff) |
Updated mingw compilation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@241 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src')
-rw-r--r-- | pjmedia/src/pjmedia-codec/gsm/config.h | 20 | ||||
-rw-r--r-- | pjmedia/src/pjmedia/file_port.c | 1 |
2 files changed, 10 insertions, 11 deletions
diff --git a/pjmedia/src/pjmedia-codec/gsm/config.h b/pjmedia/src/pjmedia-codec/gsm/config.h index c31d5141..4dd0f274 100644 --- a/pjmedia/src/pjmedia-codec/gsm/config.h +++ b/pjmedia/src/pjmedia-codec/gsm/config.h @@ -9,30 +9,30 @@ #ifndef CONFIG_H #define CONFIG_H -/*efine SIGHANDLER_T int //* signal handlers are void */ -/*efine HAS_SYSV_SIGNAL 1 //* sigs not blocked/reset? */ +/*efine SIGHANDLER_T int // * signal handlers are void */ +/*efine HAS_SYSV_SIGNAL 1 // * sigs not blocked/reset? */ #define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */ -/*efine HAS_LIMITS_H 1 //* /usr/include/limits.h */ +/*efine HAS_LIMITS_H 1 // * /usr/include/limits.h */ #define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */ -/*efine HAS_ERRNO_DECL 1 //* errno.h declares errno */ +/*efine HAS_ERRNO_DECL 1 // * errno.h declares errno */ #define HAS_FSTAT 1 /* fstat syscall */ #define HAS_FCHMOD 1 /* fchmod syscall */ #define HAS_CHMOD 1 /* chmod syscall */ #define HAS_FCHOWN 1 /* fchown syscall */ #define HAS_CHOWN 1 /* chown syscall */ -/*efine HAS__FSETMODE 1 //* _fsetmode -- set file mode */ +/*efine HAS__FSETMODE 1 // * _fsetmode -- set file mode */ #define HAS_STRING_H 1 /* /usr/include/string.h */ -/*efine HAS_STRINGS_H 1 //* /usr/include/strings.h */ +/*efine HAS_STRINGS_H 1 // * /usr/include/strings.h */ #define HAS_UNISTD_H 1 /* /usr/include/unistd.h */ #define HAS_UTIME 1 /* POSIX utime(path, times) */ -/*efine HAS_UTIMES 1 //* use utimes() syscall instead */ +/*efine HAS_UTIMES 1 // * use utimes() syscall instead */ #define HAS_UTIME_H 1 /* UTIME header file */ -/*efine HAS_UTIMBUF 1 //* struct utimbuf */ -/*efine HAS_UTIMEUSEC 1 //* microseconds in utimbuf? */ -
+/*efine HAS_UTIMBUF 1 // * struct utimbuf */ +/*efine HAS_UTIMEUSEC 1 // * microseconds in utimbuf? */ + #endif /* CONFIG_H */ diff --git a/pjmedia/src/pjmedia/file_port.c b/pjmedia/src/pjmedia/file_port.c index 1d7e9872..cb8059d3 100644 --- a/pjmedia/src/pjmedia/file_port.c +++ b/pjmedia/src/pjmedia/file_port.c @@ -43,7 +43,6 @@ static pj_status_t file_put_frame(pjmedia_port *this_port, static pj_status_t file_get_frame(pjmedia_port *this_port, pjmedia_frame *frame); static pj_status_t file_on_destroy(pjmedia_port *this_port); -static pj_status_t read_buffer(struct file_port *port); static struct file_port *create_file_port(pj_pool_t *pool) { |