summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-05-03 22:45:50 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2014-05-03 22:52:54 +0200
commit2372b1998ae5d252433d7a7a07744ba2ea81b96e (patch)
tree82ec473b82266c79c249f28c8d503b3757d9a088 /session.c
parent5cdc02d4a6947966135aada5f3dcaccfd3e94413 (diff)
downloadlibsigrokdecode-2372b1998ae5d252433d7a7a07744ba2ea81b96e.tar.gz
libsigrokdecode-2372b1998ae5d252433d7a7a07744ba2ea81b96e.zip
Don't define names ending with _t (POSIX reserved).
Avoid defining any names ending in _t, those are generally reserved for POSIX usage. For details see: http://pubs.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_02.html http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index 48d7e46..2ab7462 100644
--- a/session.c
+++ b/session.c
@@ -301,7 +301,7 @@ SRD_API int srd_session_destroy(struct srd_session *sess)
* @since 0.3.0
*/
SRD_API int srd_pd_output_callback_add(struct srd_session *sess,
- int output_type, srd_pd_output_callback_t cb, void *cb_data)
+ int output_type, srd_pd_output_callback cb, void *cb_data)
{
struct srd_pd_callback *pd_cb;