Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: fusl/src/legacy/utmpx.c

Issue 1689833004: [fusl] Update fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: remove stray space Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/src/ldso/tlsdesc.c ('k') | fusl/src/malloc/malloc_usable_size.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include <utmpx.h> 1 #include <utmpx.h>
2 #include <stddef.h> 2 #include <stddef.h>
3 #include <errno.h>
3 #include "libc.h" 4 #include "libc.h"
4 5
5 void endutxent(void) 6 void endutxent(void)
6 { 7 {
7 } 8 }
8 9
9 void setutxent(void) 10 void setutxent(void)
10 { 11 {
11 } 12 }
12 13
(...skipping 14 matching lines...) Expand all
27 28
28 struct utmpx *pututxline(const struct utmpx *ut) 29 struct utmpx *pututxline(const struct utmpx *ut)
29 { 30 {
30 return NULL; 31 return NULL;
31 } 32 }
32 33
33 void updwtmpx(const char *f, const struct utmpx *u) 34 void updwtmpx(const char *f, const struct utmpx *u)
34 { 35 {
35 } 36 }
36 37
38 int __utmpxname(const char *f)
39 {
40 errno = ENOTSUP;
41 return -1;
42 }
43
37 weak_alias(endutxent, endutent); 44 weak_alias(endutxent, endutent);
38 weak_alias(setutxent, setutent); 45 weak_alias(setutxent, setutent);
39 weak_alias(getutxent, getutent); 46 weak_alias(getutxent, getutent);
40 weak_alias(getutxid, getutid); 47 weak_alias(getutxid, getutid);
41 weak_alias(getutxline, getutline); 48 weak_alias(getutxline, getutline);
42 weak_alias(pututxline, pututline); 49 weak_alias(pututxline, pututline);
43 weak_alias(updwtmpx, updwtmp); 50 weak_alias(updwtmpx, updwtmp);
51 weak_alias(__utmpxname, utmpname);
52 weak_alias(__utmpxname, utmpxname);
OLDNEW
« no previous file with comments | « fusl/src/ldso/tlsdesc.c ('k') | fusl/src/malloc/malloc_usable_size.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698