mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
d08abc1cdc
- Adopt maintainship PR: 120860 Approved by: miwi (mentor)
32 lines
755 B
C++
32 lines
755 B
C++
--- init.cpp.orig 2008-02-19 19:27:46.000000000 +0100
|
|
+++ init.cpp 2008-02-19 19:29:23.000000000 +0100
|
|
@@ -36,8 +36,8 @@
|
|
pthread_mutex_t ServerLock;
|
|
|
|
|
|
-void LoadSpec(char *dirname, char *filename);
|
|
-int copyfile(char *ConfDirName, char *FileName);
|
|
+void LoadSpec(char *dirname, const char *filename);
|
|
+int copyfile(char *ConfDirName, const char *FileName);
|
|
|
|
|
|
void DoInitializations()
|
|
@@ -115,7 +115,7 @@
|
|
}
|
|
|
|
|
|
-void LoadSpec(char *dirname, char *filename)
|
|
+void LoadSpec(char *dirname, const char *filename)
|
|
{
|
|
FILE *fileptr;
|
|
char entry[80];
|
|
@@ -277,7 +277,7 @@
|
|
}
|
|
|
|
|
|
-int copyfile(char *ConfDirName, char *FileName)
|
|
+int copyfile(char *ConfDirName, const char *FileName)
|
|
{
|
|
FILE *oldfd, *newfd;
|
|
char oldFileName[80], newFileName[80];
|