notepad: Make NOTEPAD_DoReplace(All)?() static.

Francois Gouget fgouget at free.fr
Tue May 5 20:34:02 CDT 2009


---
 programs/notepad/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/notepad/main.c b/programs/notepad/main.c
index 33b4859..0a18f08 100644
--- a/programs/notepad/main.c
+++ b/programs/notepad/main.c
@@ -415,7 +415,7 @@ void NOTEPAD_DoFind(FINDREPLACE *fr)
     SendMessage(Globals.hEdit, EM_SETSEL, found - content, found - content + len);
 }
 
-void NOTEPAD_DoReplace(FINDREPLACE *fr)
+static void NOTEPAD_DoReplace(FINDREPLACE *fr)
 {
     LPTSTR content;
     int len = lstrlen(fr->lpstrFindWhat);
@@ -447,7 +447,7 @@ void NOTEPAD_DoReplace(FINDREPLACE *fr)
     NOTEPAD_DoFind(fr);
 }
 
-void NOTEPAD_DoReplaceAll(FINDREPLACE *fr)
+static void NOTEPAD_DoReplaceAll(FINDREPLACE *fr)
 {
     LPTSTR content;
     LPTSTR found;
-- 
1.6.2.1




More information about the wine-patches mailing list