Diff between e24d619fc3201320a5722f3d7f69721e0c4e5f34 and e682892a958e03c83ac7a4daffeb7d3c95be131b

Changed Files

File Additions Deletions Status
obexd/src/obex.c +0 -11 modified
obexd/src/obex.h +0 -2 modified

Full Patch

diff --git a/obexd/src/obex.c b/obexd/src/obex.c
index 0d00f7f..70a0c68 100644
--- a/obexd/src/obex.c
+++ b/obexd/src/obex.c
@@ -1548,17 +1548,6 @@ ssize_t obex_aparam_read(struct obex_session *os,
 	return -EBADR;
 }
 
-int obex_aparam_write(struct obex_session *os,
-		obex_object_t *obj, const uint8_t *data, unsigned int size)
-{
-	obex_headerdata_t hd;
-
-	hd.bs = data;
-
-	return OBEX_ObjectAddHeader(os->obex, obj,
-			OBEX_HDR_APPARAM, hd, size, 0);
-}
-
 int memncmp0(const void *a, size_t na, const void *b, size_t nb)
 {
 	if (na != nb)
diff --git a/obexd/src/obex.h b/obexd/src/obex.h
index 0f3360b..e3f399a 100644
--- a/obexd/src/obex.h
+++ b/obexd/src/obex.h
@@ -49,8 +49,6 @@ uint8_t obex_get_action_id(struct obex_session *os);
 char *obex_get_id(struct obex_session *os);
 ssize_t obex_aparam_read(struct obex_session *os, obex_object_t *obj,
 						const uint8_t **buffer);
-int obex_aparam_write(struct obex_session *os, obex_object_t *obj,
-				const uint8_t *buffer, unsigned int size);
 
 /* Just a thin wrapper around memcmp to deal with NULL values */
 int memncmp0(const void *a, size_t na, const void *b, size_t nb);