]> git.ozlabs.org Git - ppp.git/blobdiff - modules/ppp_mod.h
Convert to ANSI C
[ppp.git] / modules / ppp_mod.h
index f0af008861ef0f1972a126ee71e65b09cef1bf4b..792c4d4fc5b5feb129dac73df19447d50e785670 100644 (file)
@@ -143,10 +143,10 @@ typedef int minor_t;
  */
 #ifdef SVR4
 #define MOD_OPEN_DECL(name)    \
  */
 #ifdef SVR4
 #define MOD_OPEN_DECL(name)    \
-static int name __P((queue_t *, dev_t *, int, int, cred_t *))
+static int name(queue_t *, dev_t *, int, int, cred_t *)
 
 #define MOD_CLOSE_DECL(name)   \
 
 #define MOD_CLOSE_DECL(name)   \
-static int name __P((queue_t *, int, cred_t *))
+static int name(queue_t *, int, cred_t *)
 
 #define MOD_OPEN(name)                         \
 static int name(q, devp, flag, sflag, credp)   \
 
 #define MOD_OPEN(name)                         \
 static int name(q, devp, flag, sflag, credp)   \
@@ -168,10 +168,10 @@ static int name(q, flag, credp)   \
 
 #else  /* not SVR4 */
 #define MOD_OPEN_DECL(name)    \
 
 #else  /* not SVR4 */
 #define MOD_OPEN_DECL(name)    \
-static int name __P((queue_t *, int, int, int))
+static int name(queue_t *, int, int, int)
 
 #define MOD_CLOSE_DECL(name)   \
 
 #define MOD_CLOSE_DECL(name)   \
-static int name __P((queue_t *, int))
+static int name(queue_t *, int)
 
 #define MOD_OPEN(name)         \
 static int name(q, dev, flag, sflag)   \
 
 #define MOD_OPEN(name)         \
 static int name(q, dev, flag, sflag)   \