2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright (C) 1995 Matthias Ettrich
8 * Copyright (C) 1995-1999 The LyX Team.
10 * ====================================================== */
17 // Where can I put this? I found the occurence of the same code
18 // three/four times. Don't you think it better to use a macro definition
19 // (an inlined member of some class)?
21 // This should have been a namespace
22 #ifdef CXX_WORKING_NAMESPACES
25 char * getcwd(char * buffer, size_t size);
27 int chdir(char const * name);
28 /// generates an checksum
29 unsigned long sum(char const * file);
30 /// returns a date string
35 int kill(int pid, int sig);
42 static char * getcwd(char * buffer, size_t size);
44 static int chdir(char const * name);
45 /// generates an checksum
46 static unsigned long sum(char const * file);
47 /// returns a date string
50 static string getUserName();
52 static int kill(int pid, int sig);
56 #endif // CXX_WORKING_NAMESPACES