Changeset b1459dc in rtems
- Timestamp:
- 08/22/97 19:17:09 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- b57992a
- Parents:
- 78d87bd
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/libcsupport/src/newlibc.c
r78d87bd rb1459dc 372 372 */ 373 373 374 #if !defined(RTEMS_POSIX_API)375 374 pid_t __getpid(void) 376 375 { 377 return 0; 378 } 379 #endif 376 return getpid(); 377 } 380 378 381 379 /* #if !defined(RTEMS_POSIX_API) || defined(__GO32__) */ … … 383 381 pid_t getpid(void) 384 382 { 385 return __getpid();383 return (0); 386 384 } 387 385 #endif -
c/src/lib/libc/Makefile.in
r78d87bd rb1459dc 13 13 # C and C++ source names, if any, go here -- minus the .c or .cc 14 14 C_PIECES=__gettod __brk __times malloc syscalls \ 15 no_libc newlibc newlibif support unixlibc libio hosterr tcattr 15 no_libc newlibc newlibif newlibifr support unixlibc \ 16 libio hosterr tcattr 16 17 C_FILES=$(C_PIECES:%=%.c) 17 18 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) -
c/src/lib/libc/newlibc.c
r78d87bd rb1459dc 372 372 */ 373 373 374 #if !defined(RTEMS_POSIX_API)375 374 pid_t __getpid(void) 376 375 { 377 return 0; 378 } 379 #endif 376 return getpid(); 377 } 380 378 381 379 /* #if !defined(RTEMS_POSIX_API) || defined(__GO32__) */ … … 383 381 pid_t getpid(void) 384 382 { 385 return __getpid();383 return (0); 386 384 } 387 385 #endif -
c/src/lib/libc/newlibif.c
r78d87bd rb1459dc 17 17 #include <sys/stat.h> 18 18 #include <errno.h> 19 #include <reent.h> 19 20 20 21 #include <termios.h> -
cpukit/libcsupport/src/newlibc.c
r78d87bd rb1459dc 372 372 */ 373 373 374 #if !defined(RTEMS_POSIX_API)375 374 pid_t __getpid(void) 376 375 { 377 return 0; 378 } 379 #endif 376 return getpid(); 377 } 380 378 381 379 /* #if !defined(RTEMS_POSIX_API) || defined(__GO32__) */ … … 383 381 pid_t getpid(void) 384 382 { 385 return __getpid();383 return (0); 386 384 } 387 385 #endif
Note: See TracChangeset
for help on using the changeset viewer.