Commit 825ff750 authored by Michael Reeves's avatar Michael Reeves

Strip c-style void in function defs

This was never needed for c++.
parent a6626420
......@@ -217,7 +217,7 @@ class GnuDiff
// gnudiff_xmalloc.cpp
void *xmalloc(size_t n);
void *xrealloc(void *p, size_t n);
void xalloc_die(void);
void xalloc_die();
inline bool isWhite(QChar c)
......@@ -30,9 +30,9 @@
#include "gnudiff_diff.h"
/* If non NULL, call this function when memory is exhausted. */
void (*xalloc_fail_func)(void) = nullptr;
void (*xalloc_fail_func)() = nullptr;
void GnuDiff::xalloc_die(void)
void GnuDiff::xalloc_die()
......@@ -47,7 +47,7 @@ class OptionDialog : public KPageDialog
explicit OptionDialog( bool bShowDirMergeSettings, QWidget *parent = nullptr );
~OptionDialog( void ) override;
~OptionDialog() override;
QString parseOptions( const QStringList& optionList );
QString calcOptionHelp();
......@@ -61,9 +61,9 @@ public:
void addOptionItem(OptionItemBase*);
KKeyDialog* m_pKeyDialog;
protected Q_SLOTS:
virtual void slotDefault( void );
virtual void slotOk( void );
virtual void slotApply( void );
virtual void slotDefault();
virtual void slotOk();
virtual void slotApply();
//virtual void buttonClicked( QAbstractButton* );
virtual void helpRequested();
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