mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Andrew Morton <akpm@zip.com.au>,
	kernel list <linux-kernel@vger.kernel.org>
Subject: [patch] move name_to_dev_t prototype where it belongs
Date: Tue, 12 Jul 2005 10:30:19 +0200	[thread overview]
Message-ID: <20050712083019.GD1854@elf.ucw.cz> (raw)


...this fixes warning in swsusp and removes two prototypes done "by
hand".

Signed-off-by: Pavel Machek <pavel@suse.cz>

--- linux-good/include/linux/mount.h	2005-04-27 15:04:30.000000000 +0200
+++ linux-struct/include/linux/mount.h	2005-07-12 10:24:53.000000000 +0200
@@ -74,6 +74,7 @@
 			int mnt_flags, struct list_head *fslist);
 
 extern void mark_mounts_for_expiry(struct list_head *mounts);
+extern dev_t name_to_dev_t(char *name);
 
 extern spinlock_t vfsmount_lock;
 
--- linux-good/init/do_mounts.h	2005-04-27 15:04:30.000000000 +0200
+++ linux-struct/init/do_mounts.h	2005-07-12 10:24:25.000000000 +0200
@@ -9,7 +9,6 @@
 #include <linux/major.h>
 #include <linux/root_dev.h>
 
-dev_t name_to_dev_t(char *name);
 void  change_floppy(char *fmt, ...);
 void  mount_block_root(char *name, int flags);
 void  mount_root(void);
--- linux-good/kernel/power/disk.c	2005-07-03 23:51:41.000000000 +0200
+++ linux-struct/kernel/power/disk.c	2005-07-12 10:17:29.000000000 +0200
@@ -16,6 +16,7 @@
 #include <linux/device.h>
 #include <linux/delay.h>
 #include <linux/fs.h>
+#include <linux/mount.h>
 #include "power.h"
 
 
--- linux-good/kernel/power/swsusp.c	2005-07-03 23:55:30.000000000 +0200
+++ linux-struct/kernel/power/swsusp.c	2005-07-12 10:17:15.000000000 +0200
@@ -1399,8 +1399,6 @@
 	return error;
 }
 
-extern dev_t name_to_dev_t(const char *line);
-
 /**
  *	read_pagedir - Read page backup list pages from swap
  */

-- 
teflon -- maybe it is a trademark, but it should not be.

                 reply	other threads:[~2005-07-12  8:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050712083019.GD1854@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®