18 lines
449 B
Diff
18 lines
449 B
Diff
--- ncpfs-2.2.6/sutil/ncpm_common.h.orig 2022-11-02 19:37:17.319311207 +0100
|
|
+++ ncpfs-2.2.6/sutil/ncpm_common.h 2022-11-02 19:36:12.371834652 +0100
|
|
@@ -15,10 +15,10 @@
|
|
|
|
#include "ncpmount.h"
|
|
|
|
-uid_t myuid;
|
|
-uid_t myeuid;
|
|
-char *progname;
|
|
-char mount_point[MAXPATHLEN + 1];
|
|
+extern uid_t myuid;
|
|
+extern uid_t myeuid;
|
|
+extern char *progname;
|
|
+extern char mount_point[MAXPATHLEN + 1];
|
|
|
|
static inline int suser(void) {
|
|
return myuid == 0;
|