* [PATCH] 2.4.22-rc1-ac1 Missing declaration in include/linux/proc_fs.h
@ 2003-08-09 4:27 Stephane Ouellette
0 siblings, 0 replies; only message in thread
From: Stephane Ouellette @ 2003-08-09 4:27 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 297 bytes --]
Folks,
the following patch fixes a compile warning about the implicit
declaration of proc_mkdir_mode() in proc_tty.c.
The patch applies against 2.4.22-rc1-ac1.
There is no such function (proc_mkdir_mode()) in 2.6.0-test2, so
the patch does not apply to it.
Stephane Ouellette.
[-- Attachment #2: proc_fs.h-2.4.22-rc1-ac1.diff --]
[-- Type: text/plain, Size: 1182 bytes --]
--- linux-2.4.22-rc1-ac1-orig/include/linux/proc_fs.h Fri Aug 8 22:47:38 2003
+++ linux-2.4.22-rc1-ac1-fixed/include/linux/proc_fs.h Sat Aug 9 00:11:16 2003
@@ -143,6 +143,8 @@
extern struct proc_dir_entry *proc_mknod(const char *,mode_t,
struct proc_dir_entry *,kdev_t);
extern struct proc_dir_entry *proc_mkdir(const char *,struct proc_dir_entry *);
+extern struct proc_dir_entry *proc_mkdir_mode(const char *name, mode_t mode,
+ struct proc_dir_entry *parent);
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
mode_t mode, struct proc_dir_entry *base,
@@ -192,7 +194,9 @@
static inline struct proc_dir_entry *proc_mknod(const char *name,mode_t mode,
struct proc_dir_entry *parent,kdev_t rdev) {return NULL;}
static inline struct proc_dir_entry *proc_mkdir(const char *name,
- struct proc_dir_entry *parent) {return NULL;}
+ struct proc_dir_entry *parent) {return NULL;}
+static inline struct proc_dir_entry *proc_mkdir_mode(const char *name,
+ mode_t mode, struct proc_dir_entry *parent) {return NULL;}
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
mode_t mode, struct proc_dir_entry *base,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-09 4:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-09 4:27 [PATCH] 2.4.22-rc1-ac1 Missing declaration in include/linux/proc_fs.h Stephane Ouellette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox