diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-12-20 16:25:37 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-12-20 16:25:37 +0000 |
commit | dcd669e70cd7782d909016aeb3cce1e6e8076e73 (patch) | |
tree | aba8239d9072a389f3d0599ac9a69c523dde7625 /plugins | |
parent | ffb3264a99f39a67546279a4f65d372523368767 (diff) |
#if 0 a group of unused #defines;
Remove some trailing whitespace;
Add editor modelines.
svn path=/trunk/; revision=54307
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ethercat/packet-ams.h | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/plugins/ethercat/packet-ams.h b/plugins/ethercat/packet-ams.h index 6ffc2315a7..ca723dcea8 100644 --- a/plugins/ethercat/packet-ams.h +++ b/plugins/ethercat/packet-ams.h @@ -7,17 +7,17 @@ * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. @@ -936,6 +936,7 @@ typedef enum nAdsTransMode #define FACILITY_TC_IO 0x1831 +#if 0 /* Unused ?? */ #define ADS_E_ERROR (0x98110000L + ADSERR_DEVICE_ERROR) #define ADS_E_SRVNOTSUPP (0x98110000L + ADSERR_DEVICE_SRVNOTSUPP) #define ADS_E_INVALIDGRP (0x98110000L + ADSERR_DEVICE_INVALIDGRP) @@ -972,7 +973,7 @@ typedef enum nAdsTransMode #define ADS_E_INVALIDARRAYIDX (0x98110000L + ADSERR_DEVICE_INVALIDARRAYIDX) #define ADS_E_SYMBOLNOTACTIVE (0x98110000L + ADSERR_DEVICE_SYMBOLNOTACTIVE) #define ADS_E_ACCESSDENIED (0x98110000L + ADSERR_DEVICE_ACCESSDENIED) - +#endif #ifndef ANYSIZE_ARRAY #define ANYSIZE_ARRAY 1 @@ -1052,8 +1053,8 @@ typedef struct guint32 indexGroup; guint32 indexOffset; AdsNotificationAttrib noteAttrib; -} TAdsAddDeviceNotificationReq; -#define TAdsAddDeviceNotificationReq_Len (int)sizeof(TAdsAddDeviceNotificationReq) +} TAdsAddDeviceNotificationReq; +#define TAdsAddDeviceNotificationReq_Len (int)sizeof(TAdsAddDeviceNotificationReq) typedef struct { @@ -1129,13 +1130,13 @@ typedef struct { guint32 result; guint32 handle; -} TAdsAddDeviceNotificationRes; +} TAdsAddDeviceNotificationRes; #define TAdsAddDeviceNotificationRes_Len (int)sizeof(TAdsAddDeviceNotificationRes) typedef struct { guint32 result; -} TAdsDelDeviceNotificationRes; +} TAdsDelDeviceNotificationRes; #define TAdsDelDeviceNotificationRes_Len (int)sizeof(TAdsDelDeviceNotificationRes) @@ -1150,3 +1151,17 @@ typedef TcpAdsParserHDR;*/ #endif + + +/* + * Editor modelines + * + * Local Variables: + * c-basic-offset: 3 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * ex: set shiftwidth=3 tabstop=8 expandtab: + * :indentSize=3:tabSize=8:noTabs=true: + */ |