fix wide scanf's use of a compound literal past its lifetime
[musl] / arch / powerpc / bits / stat.h
index baf53d6..dcb896f 100644 (file)
@@ -1,8 +1,7 @@
 /* copied from kernel definition, but with padding replaced
  * by the corresponding correctly-sized userspace types. */
 
-struct stat
-{
+struct stat {
        dev_t st_dev;
        ino_t st_ino;
        mode_t st_mode;
@@ -19,9 +18,3 @@ struct stat
        struct timespec st_ctim;
        unsigned __unused[2];
 };
-
-#ifdef _BSD_SOURCE
-#define st_atimespec st_atim
-#define st_mtimespec st_mtim
-#define st_ctimespec st_ctim
-#endif