Skip to content
Myr

Merge pull request #55 from skeeto/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Use _POSIX_C_SOURCE, drop _BSD_SOURCE, _GNU_SOURCE (#5, #12)

authored by Salvatore Sanfilippo · committed by GitHub · parents 62b099a, d65f4c9 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:kilo.c+2 added-2 removed
32 unmodified lines
33 */3435#define KILO_VERSION "0.0.1"3637#define _BSD_SOURCE38#define _GNU_SOURCE37#define _POSIX_C_SOURCE 200809L3839#include <termios.h>40#include <stdlib.h>41#include <stdio.h>42#include <errno.h>43#include <string.h>44#include <stdlib.h>45#include <ctype.h>46#include <time.h>47#include <sys/types.h>48#include <sys/ioctl.h>49#include <sys/time.h>50#include <unistd.h>
1222 unmodified lines