Fix some warnings in libwww2

The directory libwww2 now compiles without any warnings with gcc and clang.
This commit is contained in:
Robert Clausecker
2013-03-10 00:01:23 +01:00
parent 0fbd9595a7
commit 39b76427ae
28 changed files with 146 additions and 90 deletions

View File

@@ -52,13 +52,13 @@
* mosaic-x@ncsa.uiuc.edu. *
****************************************************************************/
#include "../config.h"
#include "../libhtmlw/HTML.h"
#include "mosaic.h"
#include "gui.h"
#include "img.h"
#include "mo-www.h"
#include "globalhist.h"
#include "picread.h"
#include "libhtmlw/HTML.h"
#include "cci.h"
extern int cci_event;

View File

@@ -66,8 +66,11 @@
#ifndef __IMG_H__
#define __IMG_H__
#include "../libhtmlw/HTML.h"
mo_status mo_free_image_data (void *);
mo_status mo_register_image_resolution_function (mo_window *);
ImageInfo *ImageResolve (Widget w, char *src, int noload, char *wid, char *hei);
#endif

View File

@@ -52,7 +52,7 @@
* mosaic-x@ncsa.uiuc.edu. *
****************************************************************************/
/*
/*
* Created: Wed Apr 10 17:41:00 CDT 1996
* Author: Dan Pape
*
@@ -63,4 +63,4 @@
the source whenever something changed. */
mo_status mo_post_mailto_win (char *to_address, char *subject);

View File

@@ -95,7 +95,9 @@ newsgroup_t *addgroup (char *, long, long, int);
newsgroup_t *firstgroup ();
newsgroup_t *nextgroup (newsgroup_t *);
void news_refreshprefs (void);
void setminmax(newsgroup_t *ng,long min, long max);
void rereadseq(newsgroup_t *ng);
int newsrc_init(char *newshost);
int newsrc_kill (void);
#endif

View File

@@ -62,5 +62,4 @@
that file up because it was too big, and required a re-compile of all
the source whenever something changed. */
void ClearTempBongedProxies();