stdio: conversion specifiers should immediately follow length modifiers
[neatlibc.git] / stdarg.c
bloba2a4d583fa720b8cb74ef8c7d9321c9ea98eadc5
1 #include <stdarg.h>
3 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))
5 void *__va_arg(void **ap, int size)
7 void *ret = *ap;
8 *ap += ALIGN(size, sizeof(long));
9 return ret;