summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-03-26 01:35:05 +0000
committerbde <bde@FreeBSD.org>2002-03-26 01:35:05 +0000
commit2c14ede5e3f8a6dcb1c6cdb7859de4d83d2052b2 (patch)
treebe3cebbc6df77876d363b30f72d9e0ce23d25097
parent4941686e506080d39e1f1bea22d91fede0cd190b (diff)
downloadFreeBSD-src-2c14ede5e3f8a6dcb1c6cdb7859de4d83d2052b2.zip
FreeBSD-src-2c14ede5e3f8a6dcb1c6cdb7859de4d83d2052b2.tar.gz
Fixed some style bugs in the removal of __P(()). Some function parameter
lists were outdented to column 0.
-rw-r--r--include/db.h4
-rw-r--r--include/fts.h2
-rw-r--r--include/runetype.h6
-rw-r--r--lib/libc/gen/fts-compat.h2
4 files changed, 6 insertions, 8 deletions
diff --git a/include/db.h b/include/db.h
index 3a11e68..c192a88 100644
--- a/include/db.h
+++ b/include/db.h
@@ -122,9 +122,9 @@ typedef struct {
int minkeypage; /* minimum keys per page */
u_int psize; /* page size */
int (*compare) /* comparison function */
-(const DBT *, const DBT *);
+ (const DBT *, const DBT *);
size_t (*prefix) /* prefix function */
-(const DBT *, const DBT *);
+ (const DBT *, const DBT *);
int lorder; /* byte order */
} BTREEINFO;
diff --git a/include/fts.h b/include/fts.h
index 3635656..8dd2c41 100644
--- a/include/fts.h
+++ b/include/fts.h
@@ -47,7 +47,7 @@ typedef struct {
int fts_pathlen; /* sizeof(path) */
int fts_nitems; /* elements in the sort array */
int (*fts_compar) /* compare function */
-(const struct _ftsent **, const struct _ftsent **);
+ (const struct _ftsent **, const struct _ftsent **);
#define FTS_COMFOLLOW 0x001 /* follow command line symlinks */
#define FTS_LOGICAL 0x002 /* logical walk */
diff --git a/include/runetype.h b/include/runetype.h
index 185f83e..a5f136e 100644
--- a/include/runetype.h
+++ b/include/runetype.h
@@ -80,10 +80,8 @@ typedef struct {
char magic[8]; /* Magic saying what version we are */
char encoding[32]; /* ASCII name of this encoding */
- rune_t (*sgetrune)
-(const char *, size_t, char const **);
- int (*sputrune)
-(rune_t, char *, size_t, char **);
+ rune_t (*sgetrune)(const char *, size_t, char const **);
+ int (*sputrune)(rune_t, char *, size_t, char **);
rune_t invalid_rune;
unsigned long runetype[_CACHED_RUNES];
diff --git a/lib/libc/gen/fts-compat.h b/lib/libc/gen/fts-compat.h
index 3635656..8dd2c41 100644
--- a/lib/libc/gen/fts-compat.h
+++ b/lib/libc/gen/fts-compat.h
@@ -47,7 +47,7 @@ typedef struct {
int fts_pathlen; /* sizeof(path) */
int fts_nitems; /* elements in the sort array */
int (*fts_compar) /* compare function */
-(const struct _ftsent **, const struct _ftsent **);
+ (const struct _ftsent **, const struct _ftsent **);
#define FTS_COMFOLLOW 0x001 /* follow command line symlinks */
#define FTS_LOGICAL 0x002 /* logical walk */
OpenPOWER on IntegriCloud