Commit 4825c683 authored by Claes Sjofors's avatar Claes Sjofors

Pragma pack removed

parent 469b1555
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
The board we use is Profiboard from Softing The board we use is Profiboard from Softing
*/ */
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
/* rt_io_m_pb_ai.c /* rt_io_m_pb_ai.c
PROVIEW/R */ PROVIEW/R */
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
/* rt_io_m_pb_ao.c /* rt_io_m_pb_ao.c
PROVIEW/R */ PROVIEW/R */
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
/* rt_io_m_pb_di.c /* rt_io_m_pb_di.c
PROVIEW/R */ PROVIEW/R */
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
/* rt_io_m_pb_do.c /* rt_io_m_pb_do.c
PROVIEW/R */ PROVIEW/R */
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
......
...@@ -19,8 +19,6 @@ ...@@ -19,8 +19,6 @@
/* rt_io_m_pb_dp_slave.c -- io methods for a profibus DP slave */ /* rt_io_m_pb_dp_slave.c -- io methods for a profibus DP slave */
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
......
...@@ -48,8 +48,6 @@ The code refers to some documents provided by Hilscher, the documents are: ...@@ -48,8 +48,6 @@ The code refers to some documents provided by Hilscher, the documents are:
#define BOARD_INIT_ERROR -1 #define BOARD_INIT_ERROR -1
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
The board we use is Profiboard from Softing The board we use is Profiboard from Softing
*/ */
#pragma pack(1)
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment