aboutsummaryrefslogtreecommitdiff
path: root/dpid/main.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-09-14 16:07:12 +0200
committerjcid <devnull@localhost>2008-09-14 16:07:12 +0200
commit8a2b5a9e5b8aad195531603aedbbdd5a9eb98bfa (patch)
tree6053a7217a9c976c0d1e78bb57c4052ba8353e53 /dpid/main.c
parent4272ccda16b3d6b8695f01eb3c6ea544a97cbf54 (diff)
- Made several cleanups according to compiler warnings with "-W -Wall".
Diffstat (limited to 'dpid/main.c')
-rw-r--r--dpid/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dpid/main.c b/dpid/main.c
index 065e7858..aad1af90 100644
--- a/dpid/main.c
+++ b/dpid/main.c
@@ -146,7 +146,7 @@ static char *get_request(int sock)
* \Return
* command code on success, -1 on failure
*/
-static int get_command(int sock, char *dpi_tag, struct dp *dpi_attr_list)
+static int get_command(int sock, char *dpi_tag)
{
char *cmd, *d_cmd;
int COMMAND;
@@ -337,7 +337,7 @@ int main(void)
int command;
req = get_request(sock);
- command = get_command(sock, req, dpi_attr_list);
+ command = get_command(sock, req);
switch (command) {
case BYE_CMD:
stop_active_dpis(dpi_attr_list, numdpis);