mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-24 07:38:53 +01:00
unused -> __unused.
This commit is contained in:
parent
a58eaec540
commit
c15487318b
@ -26,7 +26,7 @@
|
|||||||
#include "tmux.h"
|
#include "tmux.h"
|
||||||
|
|
||||||
char *
|
char *
|
||||||
osdep_get_name(unused int fd, char *tty)
|
osdep_get_name(__unused int fd, char *tty)
|
||||||
{
|
{
|
||||||
struct psinfo p;
|
struct psinfo p;
|
||||||
char *path;
|
char *path;
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "tmux.h"
|
#include "tmux.h"
|
||||||
|
|
||||||
char *
|
char *
|
||||||
osdep_get_name(int fd, unused char *tty)
|
osdep_get_name(int fd, __unused char *tty)
|
||||||
{
|
{
|
||||||
FILE *f;
|
FILE *f;
|
||||||
char *path, *buf;
|
char *path, *buf;
|
||||||
|
@ -28,10 +28,10 @@ char *osdep_get_name(int, char *);
|
|||||||
char *osdep_get_cwd(int);
|
char *osdep_get_cwd(int);
|
||||||
struct event_base *osdep_event_init(void);
|
struct event_base *osdep_event_init(void);
|
||||||
|
|
||||||
#define unused __attribute__ ((unused))
|
#define __unused __attribute__ ((__unused__))
|
||||||
|
|
||||||
char *
|
char *
|
||||||
osdep_get_name(int fd, unused char *tty)
|
osdep_get_name(int fd, __unused char *tty)
|
||||||
{
|
{
|
||||||
struct proc_bsdinfo bsdinfo;
|
struct proc_bsdinfo bsdinfo;
|
||||||
pid_t pgrp;
|
pid_t pgrp;
|
||||||
|
@ -23,13 +23,13 @@
|
|||||||
#include "tmux.h"
|
#include "tmux.h"
|
||||||
|
|
||||||
char *
|
char *
|
||||||
osdep_get_name(unused int fd, unused char *tty)
|
osdep_get_name(__unused int fd, __unused char *tty)
|
||||||
{
|
{
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
char *
|
||||||
osdep_get_cwd(unused int fd)
|
osdep_get_cwd(__unused int fd)
|
||||||
{
|
{
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include "tmux.h"
|
#include "tmux.h"
|
||||||
|
|
||||||
char *
|
char *
|
||||||
osdep_get_name(int fd, unused char *tty)
|
osdep_get_name(int fd, __unused char *tty)
|
||||||
{
|
{
|
||||||
FILE *f;
|
FILE *f;
|
||||||
char *path, *buf;
|
char *path, *buf;
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "tmux.h"
|
#include "tmux.h"
|
||||||
|
|
||||||
char *
|
char *
|
||||||
osdep_get_name(unused int fd, unused char *tty)
|
osdep_get_name(__unused int fd, __unused char *tty)
|
||||||
{
|
{
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user