add parameter list (or void) to all C functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e4ef0a23d3
commit
61001d958f
13 changed files with 19 additions and 19 deletions
|
|
@ -271,7 +271,7 @@ extern int DohGetmark(DOH *obj);
|
|||
* Strings.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
extern DOHString *DohNewStringEmpty();
|
||||
extern DOHString *DohNewStringEmpty(void);
|
||||
extern DOHString *DohNewString(const DOH *c);
|
||||
extern DOHString *DohNewStringWithSize(const DOH *c, int len);
|
||||
extern DOHString *DohNewStringf(const DOH *fmt, ...);
|
||||
|
|
@ -309,14 +309,14 @@ extern int DohCopyto(DOHFile * input, DOHFile * output);
|
|||
* List
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
extern DOHList *DohNewList();
|
||||
extern DOHList *DohNewList(void);
|
||||
extern void DohSortList(DOH *lo, int (*cmp) (const DOH *, const DOH *));
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Hash
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
extern DOHHash *DohNewHash();
|
||||
extern DOHHash *DohNewHash(void);
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Void
|
||||
|
|
|
|||
|
|
@ -535,7 +535,7 @@ DohObjInfo DohHashType = {
|
|||
* Create a new hash table.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
DOH *DohNewHash() {
|
||||
DOH *DohNewHash(void) {
|
||||
Hash *h;
|
||||
int i;
|
||||
h = (Hash *) DohMalloc(sizeof(Hash));
|
||||
|
|
|
|||
|
|
@ -345,7 +345,7 @@ DohObjInfo DohListType = {
|
|||
|
||||
#define MAXLISTITEMS 8
|
||||
|
||||
DOH *DohNewList() {
|
||||
DOH *DohNewList(void) {
|
||||
List *l;
|
||||
int i;
|
||||
l = (List *) DohMalloc(sizeof(List));
|
||||
|
|
|
|||
|
|
@ -1056,7 +1056,7 @@ DOHString *DohNewString(const DOH *so) {
|
|||
* NewStringEmpty() - Create a new string
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
DOHString *DohNewStringEmpty() {
|
||||
DOHString *DohNewStringEmpty(void) {
|
||||
int max = INIT_MAXSIZE;
|
||||
String *str = (String *) DohMalloc(sizeof(String));
|
||||
str->hashkey = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue