diff options
| author | Dmitry Antipov | 2012-10-16 06:22:25 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-10-16 06:22:25 +0400 |
| commit | 61655b89f454597079c7f1ddf680d654c2c5f4e8 (patch) | |
| tree | 8f3bcfdf8e2298d6a606ecf57269e1a063198252 /src/editfns.c | |
| parent | 293902c8b28955cce23d0ae79820d363ba99bf72 (diff) | |
| download | emacs-61655b89f454597079c7f1ddf680d654c2c5f4e8.tar.gz emacs-61655b89f454597079c7f1ddf680d654c2c5f4e8.zip | |
* editfns.c (get_system_name): Remove.
* lisp.h (get_system_name): Remove prototype.
* xrdb.c (getenv, getpwuid, getpwnam): Remove prototypes.
(get_environ_db): Use Vsystem_name. Avoid call to strlen.
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/editfns.c b/src/editfns.c index 19fad7130a7..c5d4ed295ab 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1339,15 +1339,6 @@ DEFUN ("system-name", Fsystem_name, Ssystem_name, 0, 0, 0, | |||
| 1339 | return Vsystem_name; | 1339 | return Vsystem_name; |
| 1340 | } | 1340 | } |
| 1341 | 1341 | ||
| 1342 | const char * | ||
| 1343 | get_system_name (void) | ||
| 1344 | { | ||
| 1345 | if (STRINGP (Vsystem_name)) | ||
| 1346 | return SSDATA (Vsystem_name); | ||
| 1347 | else | ||
| 1348 | return ""; | ||
| 1349 | } | ||
| 1350 | |||
| 1351 | DEFUN ("emacs-pid", Femacs_pid, Semacs_pid, 0, 0, 0, | 1342 | DEFUN ("emacs-pid", Femacs_pid, Semacs_pid, 0, 0, 0, |
| 1352 | doc: /* Return the process ID of Emacs, as a number. */) | 1343 | doc: /* Return the process ID of Emacs, as a number. */) |
| 1353 | (void) | 1344 | (void) |