mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
Enabled lots of GCC warnings, fixed those that were easy to fix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@456 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f8aa81b73c
commit
dcc2e89b2e
25 changed files with 84 additions and 106 deletions
|
|
@ -4,14 +4,7 @@
|
|||
file accompanying popt source distributions, available from
|
||||
ftp://ftp.redhat.com/pub/code/popt */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "common.h"
|
||||
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
|
|
@ -302,5 +295,5 @@ void poptPrintUsage(poptContext con, FILE * f, int flags) {
|
|||
|
||||
void poptSetOtherOptionHelp(poptContext con, const char * text) {
|
||||
if (con->otherHelp) free(con->otherHelp);
|
||||
con->otherHelp = strdup(text);
|
||||
con->otherHelp = g_strdup(text);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue