Commit 651c64e1 authored by 's avatar
Browse files

fixed some warnings

git-svn-id: file:///home/svn/mapi/trunk@620 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 81ac4a44
...@@ -70,7 +70,7 @@ void* flist_remove(flist_t *list,int,flist_destroy_t dealloc); ...@@ -70,7 +70,7 @@ void* flist_remove(flist_t *list,int,flist_destroy_t dealloc);
* \param index specifies the exact index of the list where the node should be inserted * \param index specifies the exact index of the list where the node should be inserted
* \return 0 on success, or -1 on failure * \return 0 on success, or -1 on failure
*/ */
int flist_insert(flist_t *list, int id, void *data, int index); int flist_insert(flist_t *list, int id, void *data, int list_index);
/** \brief Reverse the order of the list /** \brief Reverse the order of the list
* \param list a pointer to an existing list * \param list a pointer to an existing list
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include "parseconf.h" #include "parseconf.h"
#include "mapi_errors.h" #include "mapi_errors.h"
#include "mapilibhandler.h" #include "mapilibhandler.h"
#include "printfstring.h"
#define MAXPENDING 500 /* Maximum outstanding connection requests */ #define MAXPENDING 500 /* Maximum outstanding connection requests */
...@@ -31,7 +32,7 @@ void *handle_request(void *); ...@@ -31,7 +32,7 @@ void *handle_request(void *);
int die(char *msg); int die(char *msg);
int getfid(struct dmapiipcbuf *dbuf); int getfid(struct dmapiipcbuf *dbuf);
int main(int argc, char **argv) { int main() {
int serv_sock = 0; int serv_sock = 0;
int new_sock = 0; /* client's socket descriptor (from connect()) */ int new_sock = 0; /* client's socket descriptor (from connect()) */
......
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