comparison src/sysdep.c @ 5682:9204cb4fdad9

(mkdir): Use MKDIR_PROTOTYPE if defined.
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 Jan 1994 20:55:19 +0000
parents f97415a8cf41
children 3c8ae6c720d8
comparison
equal deleted inserted replaced
5681:4524a1b19b67 5682:9204cb4fdad9
3312 */ 3312 */
3313 3313
3314 /* 3314 /*
3315 * Make a directory. 3315 * Make a directory.
3316 */ 3316 */
3317 #ifdef MKDIR_PROTOTYPE
3318 MKDIR_PROTOTYPE
3319 #else
3317 int 3320 int
3318 mkdir (dpath, dmode) 3321 mkdir (dpath, dmode)
3319 char *dpath; 3322 char *dpath;
3320 int dmode; 3323 int dmode;
3324 #endif
3321 { 3325 {
3322 int cpid, status, fd; 3326 int cpid, status, fd;
3323 struct stat statbuf; 3327 struct stat statbuf;
3324 3328
3325 if (stat (dpath, &statbuf) == 0) 3329 if (stat (dpath, &statbuf) == 0)