diff options
author | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-08-20 15:53:47 +0000 |
---|---|---|
committer | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-08-20 15:53:47 +0000 |
commit | 7814f977e3043f64c1a80f0449a2e26147510caf (patch) | |
tree | cc542b42be5f75cee5b07b7dbe2c6ab5ac59b3e4 /include/gsmd | |
parent | 18f5f4d70aecb6a6df8e0bf3e8a55b9a74b4ff68 (diff) |
remove 'struct llist_head' from phonebook messages because
* pointer in data structures passed along sockets is a bad idea, if that socket
is later a network socket and the pointer size of both ends is different
* we cannot include linux_list.h into libgsmd, since libgsmd is LGPL and
linux_list.h GPL licensed
libgsmd and gsmd are actually not using that list header, only the shell
program is effected massively. I hope somebody will clean up after me. At
least this now should solve the issue with non-compiling libgsmd users (such as
libmokogsmd).
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2748 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include/gsmd')
-rw-r--r-- | include/gsmd/usock.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h index 19c616c..bfd4cd0 100644 --- a/include/gsmd/usock.h +++ b/include/gsmd/usock.h @@ -2,7 +2,6 @@ #define _GSMD_USOCK_H #include <gsmd/event.h> -#include <common/linux_list.h> #define GSMD_UNIX_SOCKET "\0gsmd" //#define GSMD_UNIX_SOCKET_TYPE SOCK_SEQPACKET @@ -426,7 +425,6 @@ struct gsmd_phonebook_readrg { #define GSMD_PB_NUMB_MAXLEN 44 #define GSMD_PB_TEXT_MAXLEN 14 struct gsmd_phonebook { - struct llist_head list; u_int8_t index; char numb[GSMD_PB_NUMB_MAXLEN+1]; u_int8_t type; @@ -474,7 +472,6 @@ struct gsmd_msg_prefoper { }; struct gsmd_phonebook_storage { - struct llist_head list; char storage[3]; } __attribute__ ((packed)); @@ -510,6 +507,7 @@ struct gsmd_msg_hdr { #include <gsmd/usock.h> #include <gsmd/gsmd.h> +#include <common/linux_list.h> struct gsmd_user; |