Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed May 21, 2020
1 parent 238b772 commit 84ef00b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Subsystems/cmdUtil/SendUdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*/
#ifndef _sendudp_
#define _sendudp_

int SendUdp(char *hostname, char *portNum, char *packetData, int packetSize);

#endif /* _sendudp_ */
4 changes: 2 additions & 2 deletions Subsystems/cmdUtil/cmdUtil.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ typedef struct
/*
** Declare the global command data
*/
CommandData_t CommandData;
int hostByteOrder;
int hostByteOrder;

/*
** getopts parameter passing options string
Expand Down Expand Up @@ -397,6 +396,7 @@ int main(int argc, char *argv[])
int longIndex = 0;
int retStat;
unsigned short tempShort;
CommandData_t CommandData;

/*
** Initialize the CommandData struct
Expand Down

0 comments on commit 84ef00b

Please sign in to comment.